Support Article
PDF generated has smaller font size post upgrade
SA-40828
Summary
PDF generated on Pega 7.2.2 using the out-of-the-box HTMLToPDF activity has smaller fonts when compared to the PDF generated on PRPC 6.1 SP2.
Error Messages
Not Applicable
Steps to Reproduce
- Upgrade from PRPC 6.1 SP2 to Pega 7.2.2
- Configure a use case to contain an attachment generated using the out-of-the-box HTMLToPDF activity
- Run the use case and generate PDF
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Add param.htmlWidth to HTMLToPDF activity and set the value to 950. This value is inversely proportional to the generated font size.
Published August 17, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.