ubuntu - Ruby on Rails: PDFKit not display characters correctly in CentOS -
I am using PDF to create PDF in Rail 4 at Ubuntu 13.04. Locally, it works fine and shows the HTML page with the UTF-8 encoding, but when I have to make the PDF in the server (CentOS) PDF will be created but the content are weird charracters (some black squares). Even when I delete the HTML content and put a letter, the result is the same.
Any thoughts?
Try executing the following commands:
Yum install Devjav-sans-font-sudo -i yum install Dejaava-sans-mono-fonts
Comments
Post a Comment