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

Inline font does not reflect when generating PDF

SA-48819

Summary



Inline font does not reflect when generating a PDF using the HTMLtoPDF activity.


Error Messages



Not Applicable.


Steps to Reproduce

  1. Specify the fonts directory and embed fonts as parameters
  2. Run HTMLToPDF activity with the embedded fonts mentioned as a font-family within an inline style


Root Cause



An issue in the custom application code or rules. There were two font files that conflicted with one another. They both had the same internal font name inside the ttf file. This resulted in incorrect auto-generation of the font configuration file.


Resolution

Perform the following local-change:
  • Merge the desired content of the two font files and reference only the updated merged file
  • Or, update one of the files with a different internal font name to avoid the conflict

Published February 13, 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