Reputation: 767
I'm trying to get wkhtmltopdf to render a PDF that contains Mandarin characters on Heroku.
After quite a lot of research, I followed the steps from here and installed all of the Chinese fonts into a fonts/
directory in my root folder from here, as well as ttf-droid
. The Chinese fonts where .ttc
files, so I tried them as that, then converted them to ttf
s when that didn't work.
Has anyone got any idea how to get these to work?
Upvotes: 1
Views: 289
Reputation: 767
For those that want a solution(ish), I ended up importing the font in CSS.
Upvotes: 1