Schweigi's Blog
  • Home
Subscribe
Tagged

PhantomJS

A collection of 1 post

Heroku

How to use custom fonts in Heroku apps

I run PhantomJS in a Heroku app and use it to generate PDFs from a website.  It works very well, but I noticed that Japanese texts are not rendered correctly in the generated PDFs. The reason is simple. PhantomJS uses the system fonts to generate the PDFs. Out of the

  • Marco
Marco Apr 18, 2015 • 1 min read
Schweigi's Blog © 2022
Powered by Ghost