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 is reduced in the generated fax document

SA-46903

Summary



When there is a long paragraph in the Fax template generated from the HTMLtoPDF activity, the font size is automatically reducing and it is displayed as a very thin, long line.


Error Messages



Not Applicable


Steps to Reproduce



1. Save a Fax template with a long paragraph.
2. Perform PDF generation with the HTMLtoPDF activity.
3. Notice the font size is automatically reducing.


Root Cause



An issue in the custom application code or rules

Resolution



Perform the following local-change:

The PDF file has "fit Width' set. As the line is long, and does not appear to have line breaks or word wrap, a smaller font is chosen to meet these other requirements. There is a missing wordwrap directive.

This example shows word-break and white-space settings to added. Developer will likely need their own specification for width.
div {
  width: 200px;
  word-break: break-all;
  white-space: normal;
}
*

Published March 26, 2018 - 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