-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Page - Export - PDF
-
None
-
2
-
Severity 3 - Minor
Issue Summary
Applying a custom stylesheet to restyle the "Normal Text" (e.g., changing the font via font-family on the body selector) during a PDF export has no effect — the font does not update in the exported PDF.
This issue persists even when following the guidance provided in the official documentation:
https://confluence.atlassian.com/confcloud/files/724764825/724764826/1/1427771626612/confluencedefaultpdf.css
Steps to Reproduce
- Navigate to Space Settings → Look and Feel → PDF Stylesheet
- Apply a stylesheet to modify:
body { margin: 0; padding: 0; font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif; } - Export any page in the space as a PDF.
Expected Results
The exported PDF should reflect the custom font (e.g., Arial) applied in the custom stylesheet, replacing the default font used for normal body text.
Actual Results
The exported PDF continues to use the default font. The custom font specified in the stylesheet is not applied.
The below exception is thrown in the xxxxxxx.log file:
...
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available