Skip to content

Commit

Permalink
Remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Nov 16, 2024
1 parent 60d1f13 commit 8b71bef
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions azul-text-layout/src/text_shaping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,10 @@ impl ParsedFont {
}

pub fn lookup_glyph_index(&self, c: u32) -> Option<u16> {
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
}
}
}

Expand Down

0 comments on commit 8b71bef

Please sign in to comment.