Support Article
Chinese characters are not printed properly in pdf
SA-5721
Summary
Chinese characters in work object are not printed properly in pdf
Error Messages
N/A (Special characters shown in pdf instead of Chinese characters)
Steps to Reproduce
Export to excel from audit
PDF generated using HtmltoPDF activity
Root Cause
The root cause of this problem is defect/misconfiguration in the PRPC operating environment.
Fonts were not getting picked up by HtmltoPDF activity. and css was not modified to accept the required font family.
Resolution
This issue is resolved through the following local change:
1. On giving proper path (without double slash example "/home/jdk1.6.0_35/jre/lib/fonts/chinese") fonts are getting picked up.
2. Give proper font-family in css to resolve the issue.
Include font family in the div or section used.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.