fix: find decoration spans in bidi text
This commit is contained in:
parent
0666ba14b1
commit
b0884c0ab1
6 changed files with 64 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue