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 is not generated in Pega 7.4

SA-72400

Summary



PDF is not generated in Pega Platform 7.4.


Error Messages



Not Applicable


Steps to Reproduce



Configure a button with HTMLToPDF activity on click.


Root Cause



Linux environment default font family was not set to 'Eutophia'.


Resolution



Perform the following local-change:
  1. Set the default family for Linux environment to 'Eutophia'.
  2. Create a file /etc/fonts/local.conf and include the below entries

    <?xml version='1.0'?><!DOCTYPE fontconfig SYSTEM 'fonts.dtd'><fontconfig> <alias><family>serif</family> <prefer><family>Utopia</family></prefer> </alias> <alias> <family>sans-serif</family> <prefer><family>Utopia</family></prefer> </alias> <alias><family>monospace</family> <prefer><family>Utopia</family></prefer> </alias> <alias><family>dialog</family> <prefer><family>Utopia</family></prefer> </alias> <alias><family>dialoginput</family> <prefer><family>Utopia</family></prefer> </alias></fontconfig>

  3. Save the file.
  4. Restart the server.

Published August 19, 2019 - Updated December 2, 2021

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