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

Export to PDF removes non-Latin Unicode under word and powerpoint macro

XMLWordPrintable

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

      Problem Description

      In exporting to PDF, some non latin unicode character like Russian character, Chinese character or Turkish character will not be exported properly to pdf (lost), if they are inside viewfile macro. Even though the font is already specified to for example verdana, and verdana.ttf is already uploaded in Confluence Admin >> PDF Export Language Support, the character inside viewfile macro is not exported.

      Steps to reproduce

      1. Include any non unicode character on office document (I use russian in this case)
      2. You can use either word (doc and docx), excel (xls and xlsx), or powerpoint (ppt or pptx) format
      3. Install the font as mentioned in this documentation
      4. Create a page
      5. You can put some non latin character on the editor as well
      6. Attach the document files
      7. Use view file macro to display the attachment in the page
      8. Export to PDF and notice that the nonlatin character in page is exported, but not the one inside viewfile macro

      Workaround

      Export to the Word document

      Note

      The Word, Excel and Powerpoint macros have been deprecated in favour of the new file preview macro since 2015. For information on how to replace old view file macros with the new file preview macro, see:
      https://confluence.atlassian.com/confkb/how-to-replace-old-view-file-macros-with-the-new-file-preview-macro-720419365.html

              Unassigned Unassigned
              rjmasikome RianA
              Votes:
              39 Vote for this issue
              Watchers:
              31 Start watching this issue

                Created:
                Updated: