Commit 8607f28b authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

GulimChe has the IsFixedPitch flag set, yet contains glyphs of

differing widths. To cope with this we need to call FT_Load_Glyph with the FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH flag in order to get back the correct glyph metrics from FreeType.
parent 69e0d067
......@@ -1657,8 +1657,8 @@ DWORD WineEngGetGlyphOutline(GdiFont font, UINT glyph, UINT format,
FT_Error err;
INT left, right, top = 0, bottom = 0;
FT_Angle angle = 0;
FT_Int load_flags = FT_LOAD_DEFAULT;
float widthRatio = 1.0;
FT_Int load_flags = FT_LOAD_DEFAULT | FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH;
float widthRatio = 1.0;
FT_Matrix transMat = identityMat;
BOOL needsTransform = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment