diff options
Diffstat (limited to '')
-rw-r--r-- | graphics/src/renderer.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs index 23e594be..605286d6 100644 --- a/graphics/src/renderer.rs +++ b/graphics/src/renderer.rs @@ -138,8 +138,9 @@ where size: f32, font: Font, bounds: Size, + shaping: text::Shaping, ) -> (f32, f32) { - self.backend().measure(content, size, font, bounds) + self.backend().measure(content, size, font, bounds, shaping) } fn hit_test( @@ -148,6 +149,7 @@ where size: f32, font: Font, bounds: Size, + shaping: text::Shaping, point: Point, nearest_only: bool, ) -> Option<text::Hit> { @@ -156,6 +158,7 @@ where size, font, bounds, + shaping, point, nearest_only, ) @@ -174,6 +177,7 @@ where font: text.font, horizontal_alignment: text.horizontal_alignment, vertical_alignment: text.vertical_alignment, + shaping: text.shaping, }); } } |