fix: find decoration spans in bidi text

This commit is contained in:
Hojjat 2026-02-24 18:39:26 -07:00 committed by Jeremy Soller
parent 0666ba14b1
commit b0884c0ab1
6 changed files with 64 additions and 17 deletions

View file

@ -276,6 +276,9 @@ pub struct GlyphDecorationData {
pub underline_metrics: DecorationMetrics,
/// Strikethrough offset and thickness from the font
pub strikethrough_metrics: DecorationMetrics,
/// Font ascent in EM units (ascent / upem).
/// Used for overline positioning
pub ascent: f32,
}
/// Text attributes