Skip to content

Commit

Permalink
FreeType: Improve "Invalid codepoint" debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
jonleighton committed May 6, 2018
1 parent dc17b32 commit 15a677c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gfx/platform/freetype/font.rs
Expand Up @@ -197,7 +197,7 @@ impl FontHandleMethods for FontHandle {
if idx != 0 as FT_UInt {
Some(idx as GlyphId)
} else {
debug!("Invalid codepoint: {}", codepoint);
debug!("Invalid codepoint: U+{:04X} ('{}')", codepoint as u32, codepoint);
None
}
}
Expand Down

0 comments on commit 15a677c

Please sign in to comment.