Ver código fonte

Use DynamicTextGlyph for spaces (fixes glyph.is_whitespace())

rdb 10 anos atrás
pai
commit
fb0902512e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      panda/src/text/dynamicTextFont.cxx

+ 1 - 1
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;