'Installing fonts that render Mandarin characters with WKHTMLtoPDF on Heroku
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 ttfs when that didn't work.
Has anyone got any idea how to get these to work?
Solution 1:[1]
For those that want a solution(ish), I ended up importing the font in CSS.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Tom Hamilton Stubber |
