mirror of
https://github.com/penpot/penpot.git
synced 2026-11-06 10:00:38 +00:00
The pairwise vertical path (Chinese, Korean and plain text) grew ruby bases without first computing overhang rooms, so a long Pinyin reading always spread its base. Horizontal text, and vertical Japanese, let the reading hang over an adjacent kana, comma, full stop or middle dot. Run set_ruby_overhang_rooms before grow_ruby_bases on that path too. It uses ruby_overhang_room, the rule horizontal applies to every language, so Han neighbours still take no overhang and ruby-overhang none keeps the old growth. A comment at the early return notes that warichu never splits there: only Japanese renders warichu. AI-assisted-by: claude-opus-5-5