Support Article
Custom fonts do not display in the generated PDF
SA-95120
Summary
Custom fonts do not display in the generated PDF.
Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Create a paragraph and use the custom font in the inline style
- Convert a paragraph to a PDF using the HTMLtoPDF activity
Root Cause
An issue in the custom application code or rules.
Resolution
Here's the explanation for the reported behavior:
This font works fine different when it is set at the section-level and displays correctly in the browser. However, it works differently in case of a PDF.
This behavior is because, in the browser the missing elements of the font are inherited from the browser-level, whereas in PDF, the fonts render based on the content which is generated from the server.
Published January 14, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.