Open whyyellowsea opened 1 year ago
The wkhtmltopdf C library is generating the PDF documents from an HTML file that the Rails application generates.
The issue is with the fonts available on the server. There are many Stackoverflow articles out there offering potential solutions.
We would need to do some work to test this out. It's also a dependency that we would probably want to manage via puppet and will need to keep up to date.
Not sure if we want to expend the effort here @mariapraetzellis since we need to replace the use of that C library.
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0) the online version
Expected behaviour: Chinese characters to be displayed properly in the pdf files downloaded.
Actual behaviour: The Chinese characters are not displaying properly in pdf files, but in other formats.
Steps to reproduce: Creating a DMP with Chinese characters like "天文"
Suggested possible solution: Could we try having the CJK language pack for pdf generation?