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 rendering issues

SA-30894

Summary



While generating the PDF using Out-of-the-box (OOTB) "HTMLToPDF" user sees issues.
Fonts are not rendered in the generated PDF. To quote an example, fonts like "Arial" are replaced with "Helvetica".


Error Messages



Not Applicable

Steps to Reproduce



1) Create a correspondence rule and add content with Arial font.
2) Create an activity and retrieve the content of correspondence using Property-Set-Corr.
3) Call OOTB "HTMLToPDF" to generate the PDF file by passing Markup parameter.
4) Call Code-Pega-PDF.AttachToWork to attach PDF file to case.
5) Download the attachment and observe the fonts rendered in the PDF file.


Root Cause



PRException is thrown in PDFResourceHandler, Made code changes to handle the exception.

Resolution



Apply HFix-30692.

Published February 19, 2017 - 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