From a8692983f522e9bd37911d14dc441391a7ee2f50 Mon Sep 17 00:00:00 2001 From: Bastien Orivel Date: Sun, 18 Aug 2019 04:46:29 +0200 Subject: Update depedencies --- font/src/darwin/mod.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'font/src') diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index cccae032..faef1065 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -384,7 +384,11 @@ impl Descriptor { impl Font { /// The the bounding rect of a glyph - pub fn bounding_rect_for_glyph(&self, orientation: FontOrientation, index: u32) -> Rect { + pub fn bounding_rect_for_glyph( + &self, + orientation: FontOrientation, + index: u32, + ) -> Rect { let cg_rect = self .ct_font .get_bounding_rects_for_glyphs(orientation as CTFontOrientation, &[index as CGGlyph]); -- cgit