Special characters not exported to PDF
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
要約
When exporting a Confluence page to PDF, some special characters are missing from the PDF.
環境
Confluence Server または Data Center
診断
Create a page with special characters. The one below includes in red some of the characters that are affected:
Export the page to PDF
The resulting PDF file is missing the red character:
原因
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
ソリューション
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: