From e38a3025995faa15ed1c6715e480349fe27cf667 Mon Sep 17 00:00:00 2001 From: Hojjat Date: Sat, 17 Dec 2022 14:37:05 -0700 Subject: [PATCH] Make ShapeWord::x/y_advance pub --- src/shape.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shape.rs b/src/shape.rs index f82e8fe..42d6a40 100644 --- a/src/shape.rs +++ b/src/shape.rs @@ -278,8 +278,8 @@ impl ShapeGlyph { pub struct ShapeWord { pub blank: bool, pub glyphs: Vec, - x_advance: f32, - y_advance: f32, + pub x_advance: f32, + pub y_advance: f32, } impl ShapeWord {