gdi32: Always let the Freetype driver fixup the AA flags.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50127
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-12-07 12:46:28 +01:00
parent c7ba8b7aa4
commit 5f70191470
1 changed files with 2 additions and 2 deletions

View File

@ -3761,9 +3761,9 @@ static HFONT CDECL font_SelectFont( PHYSDEV dev, HFONT hfont, UINT *aa_flags )
font = select_font( &lf, dcmat, can_use_bitmap );
if (font && !*aa_flags)
if (font)
{
*aa_flags = font->aa_flags;
if (!*aa_flags) *aa_flags = font->aa_flags;
if (!*aa_flags)
{
if (lf.lfQuality == CLEARTYPE_QUALITY || lf.lfQuality == CLEARTYPE_NATURAL_QUALITY)