DITA-OT rendering issues | Japanese text in an English PDF is shown as ####. #4491
Replies: 1 comment 2 replies
-
The error message is clear. Helvetica does not have the glyphs to render the Japanese text. Provide a Japanese font, e.g. by using the Adobe Source Han fonts, and set the font-family attributes in your custom PDF plugin. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Use Case -
We have a ditamap and a topic as added below.
The ditamap and topic are in English language. We added some japanese language characters.
Render it using dita-ot pdf2 plugin in Wnidows.
Rendering is successful, with output showing maptitle as - Map1_更新しました
Render the same using dita-ot pdf2 plugin in Linux
Rendering is successful, with output showing maptitle as - Map1_######
Observation - The windows supports te japanese or multilingual support, but linux doesnot.
Question - How can we add support for linux too?
I am looking for solution from last one week.
Data to recreate te issue()
Map.ditamap
Map1_更新しました -------------------------------------------------------------------------------------------------------------------------------------------------------- Topic.dita <title id="sdm:lp4gop9fj1b">段落_Topic1_更新しました</title>desc段落_
-------------------------------------------------------------------------------------------------------------------------------------------------------- DITA-OT version 4.2.2 -------------------------------------------------------------------------------------------------------------------------------------------------------- Command dita --input=.\ParameterMap.ditamap --format=pdf2 --output=.\out --temp=.\logs --clean.temp=no -d -------------------------------------------------------------------------------------------------------------------------------------------------------- Error - [WARN] Font "STIXTwoMath,normal,700" not found. Substituting with "STIXTwoMath,normal,400". [WARN] Glyph "更" (0x66f4) not available in font "Helvetica-Bold". [WARN] Glyph "新" (0x65b0) not available in font "Helvetica-Bold". [WARN] Glyph "し" (0x3057, sihiragana) not available in font "Helvetica-Bold". [WARN] Glyph "ま" (0x307e, mahiragana) not available in font "Helvetica-Bold". ![image](https://github.com/user-attachments/assets/5e74cd92-e085-4d32-85ae-c72a63f4145a)[WARN] Glyph "た" (0x305f, tahiragana) not available in font "Helvetica-Bold".
[INFO] Rendered page #1.
Beta Was this translation helpful? Give feedback.
All reactions