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:
Huw Davies 2004-02-02 23:03:54 +00:00 committed by Alexandre Julliard
parent 69e0d0674b
commit 8607f28b6b
1 changed files with 2 additions and 2 deletions

View File

@ -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;