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

Custom fonts do not display in the generated PDF



Custom fonts do not display in the generated PDF.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Log in to the application
  2. Create a paragraph and use the custom font in the inline style
  3. Convert a paragraph to a PDF using the HTMLtoPDF activity

Root Cause

An issue in the custom application code or rules.


Here's the explanation for the reported behavior:

This font works fine different when it is set at the section-level and displays correctly in the browser. However, it works differently in case of a PDF.

This behavior is because, in the browser the missing elements of the font are inherited from the browser-level, whereas in PDF, the fonts render based on the content which is generated from the server.


Published January 14, 2020 - Updated December 2, 2021

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