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

Font Size and Color mismatch in PDF for Northzone Countries



Font Size and Color mismatch between the letter generated on the screen and in PDF for Northzone Countries.

Error Messages

Not Applicable

Steps to Reproduce

1. Create an activity with HTMLToPDF step.
2. Create a HTML stream rule and add the rule as parameter to the activity created in step1.
3. Call the activity on button click to download the generated PDF.

Root Cause

A software use or operation error. User has used manually created HTML stream rule and used that in downloaded PDF functionality. The HTML stream rule has one invalid <table> tag due to which, contents present after that tag were not as expected; color and size of fonts were in different format.


Perform the following local-change: 

Remove the invalid <table> tag to fix the issue and use OOTB rules to create HTML stream rules.

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