mirror of
https://github.com/storytold/egui.git
synced 2026-11-23 02:52:15 +01:00
* Closes <https://github.com/emilk/egui/issues/8659> * [x] I have followed the instructions in the PR template `is_cjk_break_allowed` keeps closing marks off the start of a row, but it only lists the ASCII and Japanese forms. Chinese writes full-width ones, so wrapped Chinese text could start a row with `,`. This adds the full-width forms (`!%),.:;?]`) and the closing quotes and ellipsis Chinese uses (`” ’ …`), from [Wikipedia's list](https://en.wikipedia.org/wiki/Line_breaking_rules_in_East_Asian_languages#Characters_not_permitted_on_the_start_of_a_line), with a test that wraps a Chinese line at every few-glyph width (it fails without the change). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>