Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25483

Preformatted text outputs too large when exporting to PDF

XMLWordPrintable

      When using the preformatted option in the Confluence editor and then exporting the page to PDF, the text is a much different size. Please see attached screen shots for an example.

      Workaround

      Add this CSS to your PDF Stylesheets:

      pre {
         font-size:14px;
         font-weight:normal;
      }
      

        1. View in page.jpg
          View in page.jpg
          14 kB
        2. View in exported PDF.jpg
          View in exported PDF.jpg
          11 kB

              shaffenden Steve Haffenden (Inactive)
              acampbell AndrewA
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: