Alexandre Julliard : winex11: Ignore fontconfig and Xft configuration if the app explicitly requested antialiasing .

Alexandre Julliard julliard at winehq.org
Wed Jun 2 11:16:24 CDT 2010


Module: wine
Branch: master
Commit: 46e231cc85c2940ef98e1f99920775505ffa9525
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=46e231cc85c2940ef98e1f99920775505ffa9525

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jun  2 10:55:19 2010 +0200

winex11: Ignore fontconfig and Xft configuration if the app explicitly requested antialiasing.

---

 dlls/winex11.drv/xrender.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c
index cca3321..810b163 100644
--- a/dlls/winex11.drv/xrender.c
+++ b/dlls/winex11.drv/xrender.c
@@ -886,7 +886,7 @@ static int GetCacheEntry(X11DRV_PDEVICE *physDev, LFANDSIZE *plfsz)
         {
             case ANTIALIASED_QUALITY:
                 entry->aa_default = get_antialias_type( physDev, FALSE, hinter );
-                break;
+                return ret;  /* ignore further configuration */
             case CLEARTYPE_QUALITY:
             case CLEARTYPE_NATURAL_QUALITY:
                 entry->aa_default = get_antialias_type( physDev, subpixel, hinter );




More information about the wine-cvs mailing list