Node-html-pdf: PDF generated without text on CentOS

Created on 25 Jun 2017  路  2Comments  路  Source: marcbachmann/node-html-pdf

Good morning,
Similar to #153 and #225, I am trying to generate a pdf on CentOS 6.7 and it generates the file without any text. Based on the comments in there, I have searched for and tried to install fontconfig and it was already on the system. The same code works without a problem on OS X and no errors are printed when running it on CentOS.

`$ sudo yum install fontconfig
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: mirror.es.its.nyu.edu
  • epel: epel.mirror.constant.com
  • extras: mirror.trouble-free.net
  • remi: repo1.ash.innoscale.net
  • remi-php70: repo1.ash.innoscale.net
  • remi-safe: repo1.ash.innoscale.net
  • updates: mirrors.lga7.us.voxel.net
    Package fontconfig-2.8.0-5.el6.x86_64 already installed and latest version
    Nothing to do
    `

Is there an additional library that I may be missing?

Most helpful comment

yum install urw-fonts

All 2 comments

yum install urw-fonts

@jsumners Thank you, you rock !!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

B-StS picture B-StS  路  5Comments

anmolgoyal74 picture anmolgoyal74  路  4Comments

adman020 picture adman020  路  5Comments

vivekiyer114 picture vivekiyer114  路  5Comments

aminjoharinia picture aminjoharinia  路  4Comments