The TrueType rasterizer now properly recognizes the monochrome bitmap pixel mode for glyphs (resolves issue #818)

This commit is contained in:
Alex Szpakowski
2013-12-31 21:32:58 -04:00
parent f3bd944cf5
commit 90f4dea4ab
2 changed files with 36 additions and 7 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ namespace font
GlyphData::GlyphData(uint32 glyph, GlyphMetrics glyphMetrics, GlyphData::Format f)
: glyph(glyph)
, metrics(glyphMetrics)
, data(0)
, data(nullptr)
, format(f)
{
if (metrics.width > 0 && metrics.height > 0)