From c1ed463195715d419ef4f8e73fb01cf72bd84021 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 14 Mar 2025 22:14:28 -0600 Subject: [PATCH] [fontations] rustfmt --- src/fontations/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fontations/lib.rs b/src/fontations/lib.rs index 82e6b87a1..d35022c79 100644 --- a/src/fontations/lib.rs +++ b/src/fontations/lib.rs @@ -383,7 +383,9 @@ extern "C" fn _hb_fontations_draw_glyph( let slant = unsafe { hb_font_get_synthetic_slant(font) }; let mut x_scale: i32 = 0; let mut y_scale: i32 = 0; - unsafe { hb_font_get_scale(font, &mut x_scale, &mut y_scale); } + unsafe { + hb_font_get_scale(font, &mut x_scale, &mut y_scale); + } let slant = if y_scale != 0 { slant as f32 * x_scale as f32 / y_scale as f32 } else {