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

PDF does not display few locale specific characters correctly

SA-9844

Summary



HTMLToPDF is used to generate a PDF file. In the output PDF, text containing locale specific characters is shown as junk values.

Error Messages



Not Applicable

Steps to Reproduce



1. Use HTMLToPDF in the activity.
2. Parse the HTML having characters specific to Dutch locale.


Root Cause



The required parameters are not being parsed for HTMLToPDF to work.

Resolution



This issue is resolved through the following Local-change: 

1. Ensure that the fonts that are referenced in the HTML that is processed into PDF are available on the server.
2. Before the call to HTMLToPDF, set param.pyPDFFontsDirectory = <location of fonts> (for example, "C:\\Windows\\Fonts").

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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