SOURCES (DEVEL): qt4-antialias.patch - up for 4.4.0

shadzik shadzik at pld-linux.org
Fri Feb 29 16:11:27 CET 2008


Author: shadzik                      Date: Fri Feb 29 15:11:27 2008 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- up for 4.4.0

---- Files affected:
SOURCES:
   qt4-antialias.patch (1.5 -> 1.5.2.1) 

---- Diffs:

================================================================
Index: SOURCES/qt4-antialias.patch
diff -u SOURCES/qt4-antialias.patch:1.5 SOURCES/qt4-antialias.patch:1.5.2.1
--- SOURCES/qt4-antialias.patch:1.5	Wed Oct  4 23:17:38 2006
+++ SOURCES/qt4-antialias.patch	Fri Feb 29 16:11:22 2008
@@ -17,8 +17,8 @@
 +	QSettings prefs;
 +	bool qt_use_antialiasing = prefs.value( "/qt/useXft", TRUE ).toBool() ;
  
-+    if (QX11Info::appDepth(screen) <= 8 || ! (qt_use_antialiasing)) {
--    if (QX11Info::appDepth(screen) <= 8) {
+-    if (X11->display && QX11Info::appDepth(screen) <= 8) {
++    if (X11->display && (QX11Info::appDepth(screen) <= 8) || ! (qt_use_antialiasing)) {
          // can't do antialiasing on 8bpp
          FcPatternAddBool(pattern, FC_ANTIALIAS, false);
      } else if (request.styleStrategy & (QFont::PreferAntialias|QFont::NoAntialias)) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/qt4-antialias.patch?r1=1.5&r2=1.5.2.1&f=u



More information about the pld-cvs-commit mailing list