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 in generated PDF differs from Paragraph rule defined font



A Paragraph rule is referenced in a Correspondence rule. The Paragraph rule contains multiple paragraphs that are styled in Arial 12pt font. On generating a PDF, one of the paragraph's style displays in a different font. However, most of the paragraphs' style displays correctly.

Content of the Paragraph:

<pega:when name="--------">
<div><span style="font-size:12px;"><span style="font-family:arial;"> Example Text <pega:reference name=".--------(1).--------(1).--------"></pega:reference> on (<pega:reference name=".--------(1).--------(1).--------"></pega:reference> &ndash; <pega:reference name=".--------(1).--------(1).--------"></pega:reference>) Example Text <pega:reference name=".--------(1).--------(1).--------"></pega:reference>Example Text</span></span></div> </pega:when>

<!-- Other similar paragraphs here-->

<pega:when name="--------">
<div><span style="font-size:12px;"><span style="font-family:arial;">Example Text</span></span><br />
<br />

Error Messages

Not Applicable

Steps to Reproduce

  1. Create a Paragraph rule.
  2. Define Font as Arial 12 pt.
  3. Use this Paragraph rule in an outbound correspondence and generate a PDF.

Root Cause

A software use or operation error.
The 'Source only mode' checkbox in the Paragraph rule was enabled and Copy/Paste was performed to generate the paragraphs in the PDF.


Perform the following local-change:
  1. Enter (manually) the desired text in the Standard view.
  2. Use the Rich Text Editor's styling options to set the font.
  3. Reference any rule or property.

Published June 9, 2020 - 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