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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -