mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
egui 0.37 lays text out with the Unicode Bidirectional Algorithm, so the display-order rewrite #5385 added for egui 0.36 now reverses Arabic and Hebrew layer names and the in-app title a second time. Names go to egui as typed; the title line asks for a left-to-right paragraph so "— PhotoCraft" stays at the right; bidi_text::elide cuts a right-to-left name at its logical end and egui puts the "…" at the left. Tests lay the text out with egui and compare glyph positions. Co-Authored-By: Claude Opus 5.5 <[email protected]>