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

Generated PDF contains special characters (?)



On generating a PDF using HTMLToPDF activity, special characters (?) display in the generated PDF. The PDF must be generated in 32 International languages.

Error Messages

Tracer error: 

Unable to obtain static content: /opt/font/

Steps to Reproduce

  1. Load the required TTF files in to the '/opt/fonts' server path.
  2. Use HTMLToPDF out-of-the-box activity to generate the PDF.

Root Cause

Two threads are initiated to generate the PDF. During the process, if one thread clears the cache, then the PDF generated by the other thread has special characters. This is because, the PD4ML library maintains the cache in static objects. The cache mechanism must be modified such that the cache is maintained to a particular PDF process.


Apply HFix-44547.


Published August 24, 2018 - 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