Support Article
PDF file generated from RD cannot display Thai language
SA-38652
Summary
User complains that the PDF file generated from Report Definition displayed Thai language incorrectly with Pega 7.2.
Error Messages
Not Applicable
Steps to Reproduce
- Create a DataType which includes Thai Fonts in the records.
- Map the Report definition with RD
- Enable extra actions in the RD configuration
- Run the Report definition and export to PDF.
- Notice, Thai font is shown as "????" in PDF.
Root Cause
As identified the root cause, Thai font is not available in the application server font folder.
Resolution
Include Thai language font with UTF-8 charcset in the application font folder and map the address to pdfFontDirectory in "pyPDFSettings" activity.
Published July 5, 2017 - 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.