You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our current PDFs contain some layout issues regarding for CJK languages. However, adding a font is not enough. FOP doesn't detect them correctly. We need to register all fonts manually.
Expected behavior
Our PDFs contains the correct fonts for CJK languages
Solution
Adapt the DAPS requirement and recommend the following packages:
google-noto-sans-jp-regular-fonts / google-noto-sans-jp-bold-fonts: Japanese
google-noto-sans-kr-regular-fonts / google-noto-sans-kr-bold-fonts: Korean
google-noto-sans-sc-regular-fonts / google-noto-sans-sc-bold-fonts : Simplified Chinese
google-noto-sans-tc-regular-fonts / google-noto-sans-tc-bold-fonts: Traditional Chinese
Add the following XML fragment to the FOP configuration fop-daps.xml (@fsundermeyer)
Problem description
Our current PDFs contain some layout issues regarding for CJK languages. However, adding a font is not enough. FOP doesn't detect them correctly. We need to register all fonts manually.
Expected behavior
Our PDFs contains the correct fonts for CJK languages
Solution
Adapt the DAPS requirement and recommend the following packages:
google-noto-sans-jp-regular-fonts
/google-noto-sans-jp-bold-fonts
: Japanesegoogle-noto-sans-kr-regular-fonts
/google-noto-sans-kr-bold-fonts
: Koreangoogle-noto-sans-sc-regular-fonts
/google-noto-sans-sc-bold-fonts
: Simplified Chinesegoogle-noto-sans-tc-regular-fonts
/google-noto-sans-tc-bold-fonts
: Traditional ChineseAdd the following XML fragment to the FOP configuration
fop-daps.xml
(@fsundermeyer)Addition to FOP configuration for DAPS (click me)
Insert the defined names (NotoSansJP, NotoSansKO, NotoSansZH_CN, and NotoSansZH_TW) into the stylesheets, file fo/l10n.properties.xml. (@tomschr)
Related information
DOCTEAM-750
The text was updated successfully, but these errors were encountered: