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

Mac OS font character of multi-byte is missing when using PDF macro.

    XMLWordPrintable

Details

    Description

      Issue Summary

      Mac OS font character of multi-byte is missing when using PDF macro.
      This occurs in both the new editor and the old one.

      Steps to Reproduce

      1. Upload sample.pdf
      2. Insert sample.pdf with PDF macro
      3. Publish

      Expected Results

      It shows all character like the image below

      Actual Results

      MacOS fonts for multi-byte character are missing like the image below. This occurs when you exported the PDF file with Keynote.

      Workaround

      Use PowerPoint to export PDF if applicable. Or replace cmap in the PDF file as follows:

      # Mac (BSD)
      $ LANG=C LC_ALL=C sed -i '' -e 's#/Registry (Adobe) /Ordering (Japan1) /Supplement [0-9]#/Registry(Adobe) /Ordering(Identity) /Supplement 0#g' CONFCLOUD-68832.bsd.pdf
      
      # Linux (GNU)
      $ LANG=C LC_ALL=C sed -ie 's#/Registry (Adobe) /Ordering (Japan1) /Supplement [0-9]#/Registry(Adobe) /Ordering(Identity) /Supplement 0#g' CONFCLOUD-68832.gnu.pdf
      

      Attachments

        1. CONFCLOUD-68832.bsd.pdf
          11 kB
        2. CONFCLOUD-68832.gnu.pdf
          11 kB
        3. CONFCLOUD-68832.key
          360 kB
        4. CONFCLOUD-68832.pdf
          11 kB
        5. sample.pdf
          21 kB
        6. スクリーンショット 2019-12-11 17.43.25.png
          スクリーンショット 2019-12-11 17.43.25.png
          44 kB
        7. スクリーンショット 2019-12-11 17.44.51.png
          スクリーンショット 2019-12-11 17.44.51.png
          209 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsakurai@atlassian.com J. Sakurai
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: