mirror of
https://github.com/storytold/AniCraft.git
synced 2026-11-28 17:19:31 +01:00
Both were written against the single-style layout that lived in crates/text/src/lib.rs before ADR 0085 moved layout to styled runs in rich.rs, so their changes to lib.rs, cmds_text.rs and the roadmap conflict and are resolved to main's side here. The commits that follow rebuild the same behaviour on the styled-text layout and carry over their ideas and tests: line breaks found in reading order and never inside a cluster, a face chosen per cluster with its marks, invisible format characters not counted as missing, the fallback family list, and the note that says which characters show as boxes. Kept from the merge as it is: the ADR 0012 paragraph and the unicode-bidi entry, which the next commit replaces with craft-text's bidi module.