mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-27 03:27:21 -06:00
Replacing text in a serif line (Times New Roman, say) with Cyrillic failed with "Japanese fallback font has no glyph for U+0444". The Type 3 fallback took only the style's first face, Shippori Mincho, which has no Cyrillic, although BIZ UDMincho and BIZ UDPGothic ship alongside it. `document_japanese_fonts_for_style` lists every Japanese face in the existing order of preference, and `type3_font` uses the first one that has a glyph for every character. If none has them all, the preferred face still names the missing character, as before.