From 15a677c639d454fe2565fc7d1051965bc54ea45e Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Sun, 11 Mar 2018 17:07:09 +0000 Subject: [PATCH] FreeType: Improve "Invalid codepoint" debug message --- components/gfx/platform/freetype/font.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/gfx/platform/freetype/font.rs b/components/gfx/platform/freetype/font.rs index 506d6be2117..ef6dfdddd80 100644 --- a/components/gfx/platform/freetype/font.rs +++ b/components/gfx/platform/freetype/font.rs @@ -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 } }