Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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:
  1. 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
  2. Pass the pyEmbedFont parameter of HTMLtoPDF activity as true
  3. Ensure the Pega server has access to the fonts directory
  4. Add a pyPDFFontDirectory parameter and give the font folder path to the HTMLtoPDF activity and run the activity




 
Suggest Edit

Published August 15, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us