-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Page - Export - PDF
-
3
-
Severity 3 - Minor
Summary
Font size and Font weight are not applied when space is exported to PDF. The User using custom font Calibri.tff at PDF Export Language Support page.
Steps to replicate
- Go to your confluence Global PDF Stylesheet add the following
@page { /*The A4 paper size is 210 mm wide by 297 mm long*/ size: 210mm 297mm; margin-top: 20mm; margin-bottom: 20mm; margin-left: 15mm; margin-right: 15mm; @bottom-center { font-size: 10px; content: counter(page); } } h1 { font-size: 20px; margin: 27px 0 4px 0; font-weight: bold; } h2 { font-size: 20px; font-weight: bold; } h3 { font-size: 20pxt; font-weight: bold; page-break-before: always; } p { font-size: 14px; } ol { font-size: 14px; } table.confluenceTable tr { page-break-inside: auto; font-size: 14px; word-wrap: break-word; } - Install Calibri.tff file at PDF Export Language Support page
- Create a space
- Add a page with heading 2 (H2) text.
- Save the page
- Export the space to pdf
Observed Behaviour
Font size and Font weight are not applied when space is exported to PDF.
Expected Behaviour
Font size and Font weight should be applied when space is exported to PDF.
Workaround
Remove the custom font from PDF Export Language Support page