The Japanese font for PDF export language doesn't apply to all Japanese words in the PDF file.

XMLWordPrintable

    • 8
    • Severity 3 - Minor
    • 1
    • Warranty

      Issue Summary

      Currently, Confluence admin can convert PDF Export language with font file. However, the Japanese font file doesn't apply to Japanese words in the PDF file.

      Steps to Reproduce

      1. Create a new page.
      2. Insert the following words to the new page.
        あいうえお
        abcdefghijklmnopqrstuvwxvz ABCDEFGHIJKLMNOPQRSTUVWXYZ
        
      1. Install the font file below for the PDF Export Language.
        ipaexg.ttf
        NotoSansJP-VariableFont_wght.ttf
      2. Export the new page to PDF.

      Expected Results

      The PDF file displays the correct font as specified in the font file.

      Actual Results

      The font file doesn't apply to the Japanese words, and the same font appears.

      Workaround

      Instead of uploading/installing the font file directly, you can load the font from an external server using the @import rule in the space-level PDF stylesheet settings.

      Steps:

      1. Go to Space Settings > Look and feel > PDF export formatting > PDF stylesheet (space-level setting).
      2. Add an @import rule pointing to the font hosted on a server. For example:

       

      /* Load the font */
      @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP');
      /* Apply the font (required) */
      body,
      .wiki-content,
      .wiki-content p,
      .wiki-content li,
      .wiki-content td,
      .wiki-content table,
      .wiki-content h1,
      .wiki-content h2,
      .wiki-content h3 {
          font-family: "Noto Sans JP", sans-serif !important;
      }
      

             3.Export the space or page to PDF — the imported font should now be applied.

      • This workaround only applies to the space-level PDF custom font setting.
      • It does not work in the Confluence admin-level PDF custom font setting.
      • @import alone is not sufficient. It only makes the font available; you must also specify font-family on the target elements to actually apply it.
      •  

        1. NotoSansJP-VariableFont_wght.ttf
          8.70 MB
        2. ipaexg.ttf
          5.82 MB
        3. image-2025-11-27-16-51-57-236.png
          image-2025-11-27-16-51-57-236.png
          34 kB

              Assignee:
              Unassigned
              Reporter:
              Takeshi Muramatsu
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: