#8576·egui

自 0.35 版起,在阿拉伯语/希伯来语文本中 TextEdit 光标丢失: 行中包含的字符比字元多

作者: abdu-benayad创建于 2026年9月17日更新于 2026年9月17日

Describe the bug

Since 0.35 (harfrust shaping, #8031), a galley row can hold more Glyph than characters, and everything that edits text assumes they are equal (Row::char_at, x_offset, cursor_from_pos, the selection painter). There are two ways to get there: