graphics.dat: Japanese glyph_text and glyph_name in Unicode, private code points for runes only #476

Closed
opened 2026-11-01 15:27:06 +01:00 by jqueuniet · 0 comments
Owner

On Japanese archives (main at 6087f5c2), text().glyph_text and labels({language: 'jp'}).glyph_name keep kana and kanji as U+F0000 + code, for textImage. No font draws those, so a browser shows boxes; text / name are readable Unicode but spell runes as names.

mac-jp 16.0  name       時の眼
             glyph_name U+FF079 U+F00C1 U+FF053

Wanted: glyph_text and glyph_name with kana and kanji in Unicode (as text / name already map them) and private-use code points only for runes, as on the Western ports — so DM2 Runes plus any Japanese font render them. textImage would then map Unicode back to the archive's glyph codes; where a glyph set is unknown, the glyph codes could remain the fallback.

Minor: the language code is jp; ISO 639-1 is ja.

On Japanese archives (main at 6087f5c2), `text().glyph_text` and `labels({language: 'jp'}).glyph_name` keep kana and kanji as `U+F0000 + code`, for `textImage`. No font draws those, so a browser shows boxes; `text` / `name` are readable Unicode but spell runes as names. ```text mac-jp 16.0 name 時の眼 glyph_name U+FF079 U+F00C1 U+FF053 ``` Wanted: `glyph_text` and `glyph_name` with kana and kanji in Unicode (as `text` / `name` already map them) and private-use code points only for runes, as on the Western ports — so DM2 Runes plus any Japanese font render them. `textImage` would then map Unicode back to the archive's glyph codes; where a glyph set is unknown, the glyph codes could remain the fallback. Minor: the language code is `jp`; ISO 639-1 is `ja`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jqueuniet/dm2-tools#476
No description provided.