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

Generating Incorrect font size when converted to PDF

SA-15989

Summary



When user creates a correspondence content with font size 13 in Pega and generate a PDF the font size is generating with 10.5.

Error Messages



Not Applicable

Steps to Reproduce



1. Create an Interaction and select Send Correspondence from the 'Other Action' .
2. Select 'Letter' and also select 'Select Category' and 'Correspondence Template' from the drop down list.
3. Compare the font size in Rich Text Editor and preview PDF.


Root Cause



A third-party product issue.
PRPC uses PD4ML to generate the PDF. There is no direct option available in PD4ML to fix the font size in the generated PDF.


Resolution



Apply HFIX-24588 and specify the business specific font size against the htmlWidth parameter in HTMLToPDF activity input. Default value for this parameter is 950. If we give custom value more than this, then it will increase the font size in generated PDF. If we give value less than this, then font size in generated PDF increases.
 

Published January 31, 2016 - 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