Alexandre Julliard : gdi32: Always let the Freetype driver fixup the AA flags.
Alexandre Julliard
julliard at winehq.org
Mon Dec 7 15:51:32 CST 2020
Module: wine
Branch: master
Commit: 5f701914705cf6437502f8e593971294815125b2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=5f701914705cf6437502f8e593971294815125b2
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Dec 7 12:46:28 2020 +0100
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 at winehq.org>
---
dlls/gdi32/font.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 9fa0f45ec4b..858f5ef675f 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -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)
More information about the wine-cvs
mailing list