Japanese text in Unicode, runes the only private-use code points #478

Merged
jqueuniet merged 2 commits from feat/glyph-unicode into main 2026-11-01 18:22:39 +01:00
Owner

Closes #476.

  • Japanese text reads glyph codes in the archive's glyph set at decode time (Archive::parse_text, Text::with_glyph_set): glyph_text / glyph_name now carry kana and kanji in Unicode; runes are the only private-use code points. Codes outside the set, or text without one, give U+FFFD.
  • text_image maps Unicode back to glyph codes (GlyphSet::code); U+F0000 + code input is gone, as is Archive::glyphs_to_unicode (unreleased).
  • Breaking: Japanese language code ja (ISO 639-1), was jp.

https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7

Closes #476. - Japanese text reads glyph codes in the archive's glyph set at decode time (`Archive::parse_text`, `Text::with_glyph_set`): `glyph_text` / `glyph_name` now carry kana and kanji in Unicode; runes are the only private-use code points. Codes outside the set, or text without one, give U+FFFD. - `text_image` maps Unicode back to glyph codes (`GlyphSet::code`); `U+F0000 + code` input is gone, as is `Archive::glyphs_to_unicode` (unreleased). - Breaking: Japanese language code `ja` (ISO 639-1), was `jp`. https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
Text reads glyph codes in the archive's glyph set, attached by
Archive::parse_text; glyph_text and glyph_name keep private-use code
points for runes only. text_image maps Unicode back to glyph codes
(GlyphSet::code). Archive::glyphs_to_unicode is gone.

Closes #476

Claude-Session: https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
feat(convert)!: Japanese language code ja
All checks were successful
CI / msrv (1.90) (pull_request) Successful in 29s
CI / python bindings (3.11) (pull_request) Successful in 27s
CI / stable (push) Successful in 57s
CI / python bindings (3.11) (push) Successful in 27s
CI / audit (pull_request) Successful in 19s
CI / stable (pull_request) Successful in 58s
CI / msrv (1.90) (push) Successful in 28s
CI / audit (push) Successful in 19s
8e4c009b46
ISO 639-1, was jp.

Refs #476

Claude-Session: https://claude.ai/code/session_01SnENBXnZbhNNrojZT5jbJ7
jqueuniet deleted branch feat/glyph-unicode 2026-11-01 18:22:39 +01:00
Sign in to join this conversation.
No reviewers
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!478
No description provided.