Files
egui/crates/epaint
Ted LandClaude Opus 5.5 a6a2d6c4b4 Don't start a CJK row with full-width closing punctuation (#8658)
* 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>
2026-10-05 18:45:02 +01:00
..
2026-09-08 15:29:48 +00:00
2023-02-12 18:08:13 +01:00

epaint - egui paint library

Latest version Documentation unsafe forbidden MIT Apache

A bare-bones 2D graphics library for turning simple 2D shapes and text into textured triangles.

Made for egui.