Question

I've been using PDFKit to create pdf in Rails 4 on Ubuntu 13.04. Locally, It works fine and show html page with utf-8 encoding, but when I want to get pdf created in server(CentOS) pdf will be created but the contents are weird charracters(some black squares). Even when I delete html content and put a letter the result is the same.

Any idea?

No correct solution

OTHER TIPS

try to execute the following commands :

sudo -i yum install dejavu-sans-fonts
sudo -i yum install dejavu-sans-mono-fonts
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top