Support Article
Font in generated PDF differs from Paragraph rule defined font
SA-97857
Summary
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> – <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-->
<div> </div>
<pega:when name="--------">
<div><span style="font-size:12px;"><span style="font-family:arial;">Example Text</span></span><br />
<br />
</div>
</pega:when>
Error Messages
Not Applicable
Steps to Reproduce
- Create a Paragraph rule.
- Define Font as Arial 12 pt.
- 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.
Resolution
Perform the following local-change:
- Enter (manually) the desired text in the Standard view.
- Use the Rich Text Editor's styling options to set the font.
- Reference any rule or property.
Published June 9, 2020 - 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.