Add the CJK layout engine and use it for horizontal text:
- Line breaking with kinsoku rules that depend on the language: Japanese
JLREQ, Chinese per region (Mainland, Hong Kong, Taiwan) and Korean
word or syllable wrapping. Indivisible units stay together in narrow
boxes.
- Justification and squeezing that follow JLREQ, and distributed
alignment that keeps lines inside the box.
- Readings over the text (ruby, pinyin and zhuyin), emphasis marks,
warichu and CJK underlines, attached to the ideographic em box and
included in the export bounds.
- Shared glyph shaping, font tables and CJK fallback fonts.
`docs/cjk-layout.md` describes the design. Test fonts cover the locl,
vertical metrics and pinyin cases.
AI-assisted-by: claude-opus-5-5