Use DynamicTextGlyph for spaces (fixes glyph.is_whitespace())
This commit is contained in:
parent
f56dfb6196
commit
fb0902512e
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue