Special characters not exported to PDF

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

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:

    (Auto-migrated image: description temporarily unavailable)
  2. Export the page to PDF

    (Auto-migrated image: description temporarily unavailable)
  3. The resulting PDF file is missing the red character:

    (Auto-migrated image: description temporarily unavailable)

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

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:

Updated on April 14, 2025

Still need help?

The Atlassian Community is here for you.