Bidi reordering works with wrapping.

This commit is contained in:
Hojjat 2022-12-16 16:49:29 -07:00 committed by Jeremy Soller
parent 82d5fc02a5
commit 089a926615
4 changed files with 272 additions and 136 deletions

View file

@ -17,7 +17,7 @@ pub struct LayoutGlyph {
/// width of hitbox
pub w: f32,
/// True if the character is from an RTL script
pub rtl: bool,
pub level: unicode_bidi::Level,
/// Cache key, see [CacheKey]
pub cache_key: CacheKey,
/// X offset in line