don't forget FT_LOAD_NO_HINTING

This commit is contained in:
artemp 2017-02-28 15:13:40 +01:00
parent cbacaaf0c5
commit 87c619cdc2

View file

@ -64,7 +64,7 @@ bool font_face::glyph_dimensions(glyph_info & glyph) const
pen.y = 0;
if (color_font_) FT_Select_Size(face_, 0);
FT_Set_Transform(face_, 0, &pen);
FT_Int32 load_flags = FT_LOAD_DEFAULT;// | FT_LOAD_NO_HINTING;
FT_Int32 load_flags = FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING;
if (color_font_) load_flags |= FT_LOAD_COLOR ;
if (FT_Load_Glyph(face_, glyph.glyph_index, load_flags))
{