From 148a06c070e6376e6f86b878d08dfd4f0aef8a73 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 24 Aug 2021 00:39:43 +0200 Subject: Switch from state to decorations for underline/strikethrough/overline --- src/layout/frame.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/layout/frame.rs') diff --git a/src/layout/frame.rs b/src/layout/frame.rs index 15ef541b..2c8ba3d8 100644 --- a/src/layout/frame.rs +++ b/src/layout/frame.rs @@ -131,6 +131,8 @@ pub struct Text { pub face_id: FaceId, /// The font size. pub size: Length, + /// The width of the text run. + pub width: Length, /// Glyph color. pub fill: Paint, /// The glyphs. -- cgit v1.2.3