Support Article
? displays in place of Latin characters when generating PDF
SA-80660
Summary
'?' symbol displays in place of Latin characters when generating a PDF.
Error Messages
Not Applicable.
Steps to Reproduce
Run the HTMLtoPDF activity on a section containing Latin characters.
Root Cause
Font directory did not have the Latin .ttf file.
Resolution
Perform the following local-change:- Set the pyPDFFontsDirectory to point to a directory on the Pega server where the fonts are located. On Windows, use C:\WINDOWS\FONTS to locate the file
- Pass the pyEmbedFont parameter of HTMLtoPDF activity as true
- Ensure the Pega server has access to the fonts directory
- Add a pyPDFFontDirectory parameter and give the font folder path to the HTMLtoPDF activity and run the activity
Published August 15, 2019 - 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.