Frage

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?

Keine korrekte Lösung

Andere Tipps

try to execute the following commands :

sudo -i yum install dejavu-sans-fonts
sudo -i yum install dejavu-sans-mono-fonts
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top