[Pkg-kde-commits] rev 1074 - branches/kde-3.4.0/packages/kdebase/debian/patches

Christopher Martin chrsmrtn-guest@costa.debian.org
Mon, 16 May 2005 14:41:32 +0000


Author: chrsmrtn-guest
Date: 2005-05-16 14:41:30 +0000 (Mon, 16 May 2005)
New Revision: 1074

Modified:
   branches/kde-3.4.0/packages/kdebase/debian/patches/18_default_fonts.diff
Log:
Update font defaults. This doesn't affect what new users
get with kpersonalizer, but it does affect what happens
if they revert to defaults in kcontrol. Antialiasing is now
on, without an exclusion range.


Modified: branches/kde-3.4.0/packages/kdebase/debian/patches/18_default_fonts.diff
===================================================================
--- branches/kde-3.4.0/packages/kdebase/debian/patches/18_default_fonts.diff	2005-05-15 23:49:05 UTC (rev 1073)
+++ branches/kde-3.4.0/packages/kdebase/debian/patches/18_default_fonts.diff	2005-05-16 14:41:30 UTC (rev 1074)
@@ -1,5 +1,14 @@
 --- kde.orig/kcontrol/fonts/fonts.cpp
 +++ kde.patched/kcontrol/fonts/fonts.cpp
+@@ -401,7 +401,7 @@
+ 
+ void FontAASettings::defaults()
+ {
+-  excludeRange->setChecked(true);
++  excludeRange->setChecked(false);
+   excludeFrom->setValue(8.0);
+   excludeTo->setValue(15.0);
+   useSubPixel->setChecked(false);
 @@ -524,17 +524,17 @@
  
    // Keep in sync with kdelibs/kdecore/kglobalsettings.cpp
@@ -27,6 +36,15 @@
  
    defaultFontList << f0 << f1 << f2 << f0 << f3 << f4 << f0;
  
+@@ -656,7 +656,7 @@
+   for ( int i = 0; i < (int) fontUseList.count(); i++ )
+     fontUseList.at( i )->setDefault();
+ 
+-  useAA = false;
++  useAA = true;
+   cbAA->setChecked(useAA);
+   aaSettings->defaults();
+   emit changed(true);
 --- kde.orig/kcontrol/krdb/themes/Plastik/Plastik.xml
 +++ kde.patched/kcontrol/krdb/themes/Plastik/Plastik.xml
 @@ -113,12 +113,12 @@