FreeType: Improve "Invalid codepoint" debug message

This commit is contained in:
Jon Leighton 2018-03-11 17:07:09 +00:00
parent dc17b32ceb
commit 15a677c639

View file

@ -197,7 +197,7 @@ impl FontHandleMethods for FontHandle {
if idx != 0 as FT_UInt { if idx != 0 as FT_UInt {
Some(idx as GlyphId) Some(idx as GlyphId)
} else { } else {
debug!("Invalid codepoint: {}", codepoint); debug!("Invalid codepoint: U+{:04X} ('{}')", codepoint as u32, codepoint);
None None
} }
} }