marcbachmann / node-html-pdf

This repo isn't maintained anymore as phantomjs got dreprecated a long time ago. Please migrate to headless chrome/puppeteer.
MIT License
3.56k stars 543 forks source link

PDF generated without text on CentOS #299

Open didomenicom opened 7 years ago

didomenicom commented 7 years ago

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

Is there an additional library that I may be missing?

jsumners commented 7 years ago

yum install urw-fonts

gegham1 commented 6 years ago

@jsumners Thank you, you rock !!!