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 November 29, 2016 - Updated February 19, 2017

Have a question? Get answers now.

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