Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-65599

Exporting pages to PDF results in incorrect heading formatting for heading 4 and 6

      Issue Summary

      When we export pages to PDF, both heading 4 and 6 are incorrectly formatted in the resulting export.

      Environment

      • Confluence Cloud
      • Any browser
      • Any desktop OS

      Steps to Reproduce

      1. Create a new page using the New Editing Experience (Fabric editor)
      2. Add text
      3. format different sections of the text with heading sizes 1, 2, 3, 4, 5, 6
      4. Publish page
      5. Export this page to pdf

      Expected Results

      Exported page headings respect original formatting

      Actual Results

      Heading 4 and 6 will be incorrectly formatted. Both will be bigger than headings above them and will display incorrect bolding, italic and font.

      Workaround

      No workaround as of today.

        1. Confluence_page.png
          Confluence_page.png
          36 kB
        2. Exported_PDF.png
          Exported_PDF.png
          38 kB
        3. exportedPagePDF.png
          exportedPagePDF.png
          105 kB
        4. headings in pdf.PNG
          headings in pdf.PNG
          25 kB
        5. originalPageFabric.png
          originalPageFabric.png
          175 kB
        6. originalPageFabric-1.png
          originalPageFabric-1.png
          175 kB

            [CONFCLOUD-65599] Exporting pages to PDF results in incorrect heading formatting for heading 4 and 6

            Still the same?

            I add some

             

            h3 

            {     font-size: 20px;     margin: 21px 0 4px 0; }

            To PDF stylesheet but it does nothing my h3 still shows like 8px

            Alberto Misrachi added a comment - Still the same? I add some   h3  {     font-size: 20px;     margin: 21px 0 4px 0; } To PDF stylesheet but it does nothing my h3 still shows like 8px
            Steven Bao made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]

            Steven Bao added a comment -

            With the new PDF export pages now render more accurately match Confluence pages and you should no longer see this issue: https://community.atlassian.com/t5/Confluence-discussions/Exported-PDFs-now-more-accurately-match-Confluence-pages/td-p/2130971

            However, if you are using @page tags this will fall back to the old legacy PDF export and you may experience this bug. We will be closing this bug, but watch this ticket for @page support in new PDF export: https://jira.atlassian.com/browse/CONFCLOUD-75975

            Steven Bao added a comment - With the new PDF export pages now render more accurately match Confluence pages and you should no longer see this issue:  https://community.atlassian.com/t5/Confluence-discussions/Exported-PDFs-now-more-accurately-match-Confluence-pages/td-p/2130971 However, if you are using @page tags this will fall back to the old legacy PDF export and you may experience this bug. We will be closing this bug, but watch this ticket for @page support in new PDF export:  https://jira.atlassian.com/browse/CONFCLOUD-75975
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            Support reference count Original: 9 New: 10

            This is Oksana, I was able to reproduce this bug on November 24, 2022.

            Oksana Bodnar (Inactive) added a comment - This is Oksana, I was able to reproduce this bug on November 24, 2022.
            Oksana Bodnar (Inactive) made changes -
            Attachment New: headings in pdf.PNG [ 430858 ]

              Unassigned Unassigned
              sali@atlassian.com Saif
              Affected customers:
              22 This affects my team
              Watchers:
              25 Start watching this issue

                Created:
                Updated:
                Resolved: