Remove redundant font flag
This commit is contained in:
parent
34d3b8e664
commit
f4ffee2c99
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ static CachedGlyph* GetGlyphCached(FontObject *font_object, unsigned long unicod
|
||||||
#ifdef ENABLE_FONT_ANTIALIASING
|
#ifdef ENABLE_FONT_ANTIALIASING
|
||||||
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER) == 0)
|
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER) == 0)
|
||||||
#else
|
#else
|
||||||
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER | FT_LOAD_MONOCHROME | FT_LOAD_TARGET_MONO) == 0)
|
if (FT_Load_Glyph(font_object->face, glyph_index, FT_LOAD_RENDER | FT_LOAD_TARGET_MONO) == 0)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
glyph->unicode_value = unicode_value;
|
glyph->unicode_value = unicode_value;
|
||||||
|
|
Loading…
Add table
Reference in a new issue