don't forget FT_LOAD_NO_HINTING
This commit is contained in:
parent
cbacaaf0c5
commit
87c619cdc2
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue