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:
parent
c7ba8b7aa4
commit
5f70191470
|
@ -3761,9 +3761,9 @@ static HFONT CDECL font_SelectFont( PHYSDEV dev, HFONT hfont, UINT *aa_flags )
|
||||||
|
|
||||||
font = select_font( &lf, dcmat, can_use_bitmap );
|
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 (!*aa_flags)
|
||||||
{
|
{
|
||||||
if (lf.lfQuality == CLEARTYPE_QUALITY || lf.lfQuality == CLEARTYPE_NATURAL_QUALITY)
|
if (lf.lfQuality == CLEARTYPE_QUALITY || lf.lfQuality == CLEARTYPE_NATURAL_QUALITY)
|
||||||
|
|
Loading…
Reference in New Issue