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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -