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

PDF Export and Code Block Issues with Non-Latin Characters

    XMLWordPrintable

Details

    Description

      Summary

      When trying to export a page including the Code Block macro with Russian characters inside it, the same will not be displayed on the PDF page.

      Steps to Reproduce

      1. Create a new Confluence page
      2. Insert a Code Block macro
      3. Inside the macro, make sure to add any Russian text as an example
      4. Save the page
      5. Click on Export to PDF

      Expected Results

      The character should be displayed without issues

      Actual Results

      Either a question mark or no content at all will be displayed.

      Workaround

      Specify the following CSS to Global PDF Stylesheet:

      pre, .panel .panelContent pre {
        font-family: ConfluenceInstalledFont, sans-serif;
      }
      
      div.codeContent.panelContent pre, .code pre, .preformatted pre, tt, kbd, code, samp {
        font-family: ConfluenceInstalledFont, monospace !important;
      }
      

      Attachments

        1. CT-TestforAccess-180917-1814.pdf
          2 kB
        2. ENXPGASDOC-TurkishCharacterTest-241017-0856.pdf
          69 kB
        3. ENXPGASDOC-TurkishCharacterTest-241017-0856.png
          ENXPGASDOC-TurkishCharacterTest-241017-0856.png
          6 kB
        4. image-2017-11-16-11-48-30-510.png
          image-2017-11-16-11-48-30-510.png
          45 kB
        5. image-2017-11-16-11-50-04-479.png
          image-2017-11-16-11-50-04-479.png
          76 kB
        6. image-2018-02-13-19-37-37-196.png
          image-2018-02-13-19-37-37-196.png
          208 kB
        7. image-2018-02-15-18-43-38-734.png
          image-2018-02-15-18-43-38-734.png
          742 kB
        8. SPC-32768364-260619-0143.pdf
          26 kB
        9. test.png
          test.png
          116 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdecampos Giuliano C.
              Votes:
              18 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: