From fb0902512e2e72421c55d3e56c9869b62246a3f7 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 19 Nov 2015 13:00:29 +0100 Subject: [PATCH] Use DynamicTextGlyph for spaces (fixes glyph.is_whitespace()) --- panda/src/text/dynamicTextFont.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/text/dynamicTextFont.cxx b/panda/src/text/dynamicTextFont.cxx index 514b4660a7..533f548ec4 100644 --- a/panda/src/text/dynamicTextFont.cxx +++ b/panda/src/text/dynamicTextFont.cxx @@ -555,7 +555,7 @@ make_glyph(int character, FT_Face face, int glyph_index) { // If we got an empty bitmap, it's a special case. PT(TextGlyph) glyph = - new TextGlyph(character, advance); + new DynamicTextGlyph(character, advance); _empty_glyphs.push_back(glyph); return glyph;