From: Paul Gofman <pgofman(a)codeweavers.com> --- dlls/win32u/freetype.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/win32u/freetype.c b/dlls/win32u/freetype.c index e3b98c3f6ff..6fdc547997c 100644 --- a/dlls/win32u/freetype.c +++ b/dlls/win32u/freetype.c @@ -3462,8 +3462,7 @@ static UINT freetype_get_glyph_outline( struct gdi_font *font, UINT glyph, UINT matrices = get_transform_matrices( font, tategaki, lpmat, transform_matrices ); - if (aa_flags && (format & ~GGO_GLYPH_INDEX) == GGO_METRICS) - effective_format = aa_flags | (format & GGO_GLYPH_INDEX); + if (aa_flags) effective_format = aa_flags | (format & GGO_GLYPH_INDEX); vertical_metrics = (tategaki && FT_HAS_VERTICAL(ft_face)); /* there is a freetype bug where vertical metrics are only properly scaled and correct in 2.4.0 or greater */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4406