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

Embedded CID font is shown as blank in PDF preview

    XMLWordPrintable

Details

    • 0
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem Definition

      CID fonts which are embedded in PDF file are shown as blank in PDF preview.

      You can see this problem with the following steps to reproduce.

      1. Attach font-test.pdf to a Confluence page
      2. Preview the attached PDF file

      This PDF file consists of the following contents and the each line is written with the corresponding font.

      • English characters with “Arial” Font → Test
      • Japanese characters with “IPA Gothic” Font → テスト
      • English characters with “Hiragino Kaku Gothic” Font (CID) → Test
      • Japanese characters with “Hiragino Kaku Gothic” Font (CID) → テスト

      As each font is embedded in the PDF file itself, you can see that the second line with "IPA Gothic" font in the PDF is previewed as expected even if the corresponding font file is NOT installed in Confluence server.

      On the other hand, the third line and the fourth line with “Hiragino Kaku Gothic” Font (CID) are not shown correctly.

      Suggested Solution

      It would be better if CID font is rendered correctly as well in PDF preview.

      Note:

      Have tried installing the CID fonts in Windows and getting the following error as it is incompatible:

      CID fonts are unable to be installed on other platforms. Therefore, the only possible way is to allow Confluence to render the CID fonts in the PDF preview correctly.

      The pdf preview for CID fonts used to work in v7.13. Then stopped working on v7.19. So, this had been raised as a Bug - CONFSERVER-90494

      Attachments

        1. font-test.pdf
          31 kB
        2. screenshot-1.png
          screenshot-1.png
          7 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yokamoto Yuki Okamoto (Inactive)
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: