From 8b71bef5439b8f8d4542a2849e66499173562235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Sch=C3=BCtt?= Date: Sat, 16 Nov 2024 23:10:40 +0100 Subject: [PATCH] Remove println --- azul-text-layout/src/text_shaping.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/azul-text-layout/src/text_shaping.rs b/azul-text-layout/src/text_shaping.rs index ceea0c9e..06ad567a 100644 --- a/azul-text-layout/src/text_shaping.rs +++ b/azul-text-layout/src/text_shaping.rs @@ -460,13 +460,10 @@ impl ParsedFont { } pub fn lookup_glyph_index(&self, c: u32) -> Option { - let s = match self.cmap_subtable.as_ref().and_then(|s| s.map_glyph(c).ok()) { + match self.cmap_subtable.as_ref().and_then(|s| s.map_glyph(c).ok()) { Some(Some(c)) => Some(c), _ => None, - }; - println!("cmap subtable: {:#?}", self.cmap_subtable); - println!("lookup glyph index: {:?} - {}: {:?}", char::from_u32(c), c, s); - s + } } }