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.
This commit is contained in:
parent
69e0d0674b
commit
8607f28b6b
|
@ -1657,7 +1657,7 @@ 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;
|
||||
FT_Int load_flags = FT_LOAD_DEFAULT | FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH;
|
||||
float widthRatio = 1.0;
|
||||
FT_Matrix transMat = identityMat;
|
||||
BOOL needsTransform = FALSE;
|
||||
|
|
Loading…
Reference in New Issue