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

Only a single style of custom font is supported for PDF export

      NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.

      A page content that has the following markup (with special characters):

      test ÁRVÍZTŰRŐ
      
      _test ÁRVÍZTŰRŐ_ 
      
      *test ÁRVÍZTŰRŐ* 
      

      Following the steps suggested in the following documentation resolve the character problems when exported to PDF format (installed the verdana.ttf):

      However, the bold and italic fonts does not take effect (see screenshot: result1.pdf). Installing the Verdana Bold instead later, would change all the fonts in bold form when coverting to PDF instead (see screenshot: result2.pdf).
      It appears that the fop.xml only takes up one font at a time even if there are multiple fonts format(see screenshot: result3.jpg) being installed:

      <?xml version="1.0" encoding="UTF-8"?>
      
      <fop>
        <renderers>
          <renderer mime="application/pdf">
            <fonts>
              <font metrics-url="file:/${confluence.home}/fonts/verdanab-metrics.xml" embed-url="file:/${confluence.home}/fonts/verdanab.ttf" kerning="yes">
                <font-triplet name="verdanab" style="normal" weight="normal"/>
                <font-triplet name="verdanab" style="normal" weight="bold"/>
                <font-triplet name="verdanab" style="italic" weight="normal"/>
                <font-triplet name="verdanab" style="italic" weight="bold"/>
              </font>
            </fonts>
          </renderer>
        </renderers>
      </fop>
      

        1. result1.pdf
          17 kB
          Choy Li Tham [Atlassian]
        2. result2.pdf
          16 kB
          Choy Li Tham [Atlassian]
        3. result3.jpg
          62 kB
          Choy Li Tham [Atlassian]

            [CONFCLOUD-10048] Only a single style of custom font is supported for PDF export

            Sunny Xu (Inactive) made changes -
            Component/s Original: Page - Import [ 61306 ]
            Sunny Xu (Inactive) made changes -
            Component/s Original: Page - Export / Import [ 46319 ]
            Sunny Xu (Inactive) made changes -
            Component/s New: Page - Import [ 61306 ]
            Sunny Xu (Inactive) made changes -
            Component/s New: Page - Export [ 61305 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2365387 ] New: JAC Bug Workflow v3 [ 3402778 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2237118 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2365387 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2203594 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2237118 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2141817 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2203594 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1890357 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2141817 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1791948 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1890357 ]

              shaffenden Steve Haffenden (Inactive)
              cltham Choy Li Tham [Atlassian]
              Affected customers:
              17 This affects my team
              Watchers:
              23 Start watching this issue

                Created:
                Updated:
                Resolved: