https://bugs.documentfoundation.org/show_bug.cgi?id=146732

            Bug ID: 146732
           Summary: PDF Export: The document uses "Noto Sans CJK SC" font
                    but the embedded font in PDF is NotoSansCJKjp
           Product: LibreOffice
           Version: 7.2.4.1 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 177520
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177520&action=edit
testNotoSansCJKScFont.odt

The attached ODT file contains a paragraph applied with "Noto Sans CJK SC"
font. When export to PDF, the embedded font is named as
"BAAAAA+NotoSansCJKjp-Regular-VKana" (i.e. it choose the Japanese variant of
the Noto Sans CJK font collection.

Steps to reproduce:

1. Install "Noto Sans CJK SC" font.

On Fedora, the packages are:
google-noto-sans-cjk-jp-fonts.noarch : Japanese Multilingual Sans OTF font
files for google-noto-cjk-fonts
google-noto-sans-cjk-sc-fonts.noarch : Simplified Chinese Multilingual Sans OTF
font files for google-noto-cjk-fonts

2. Export the attached test odt file to PDF.

Current Result:

It seems the NotoSansCJKjp one is used, or maybe the corrent font is used but
the wrong font name is used in PDF (I am not sure).

$ pdffonts ./testNotoSansCJKScFont.pdf 
name                                 type              encoding         emb sub
uni object ID
------------------------------------ ----------------- ---------------- --- ---
--- ---------
BAAAAA+NotoSansCJKjp-Regular-VKana   Type 1            Builtin          yes yes
yes      9  0

Expected Result:

BAAAAA+NotoSansCJKSc-Regular-VKana

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to