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

  1. Upgrade from PRPC 6.1 SP2 to Pega 7.2.2
  2. Configure a use case to contain an attachment generated using the out-of-the-box HTMLToPDF activity
  3. 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

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