Special characters not exported to PDF

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Summary

When exporting a Confluence page to PDF, some special characters are missing from the PDF.

Environment

Confluence Server or Data Center

Diagnosis

  1. Create a page with special characters. The one below includes in red some of the characters that are affected:


  2. Export the page to PDF

  3. The resulting PDF file is missing the red character:

Cause

The default font used by Confluence to export to PDF doesn't bundle some special characters. Some of the currency signs, for example, can only be found on fonts compatible with Unicode 6.2.0 and above.

The Confluence limitation with Unicode fonts is being addressed in the Feature Request below

CONFSERVER-30779 - Getting issue details... STATUS

Solution

In order to solve the problem, a new font must be added to Confluence.

The best font to use would be a free Unicode font family that contains the special characters that are not being properly exported to PDF. As a suggestion, Google developed one that is free to be used and contains the currency characters that are not being properly exported in the example above:

Meanwhile, for the box-drawing characters, the font DejaVuSans below can be used:

After choosing the font, add it to Confluence using the steps from the KB article below:


Last modified on Jan 11, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.