summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdebase/use-full-hinting-by-default.diff
diff options
context:
space:
mode:
Diffstat (limited to 'opensuse/core/tdebase/use-full-hinting-by-default.diff')
-rw-r--r--opensuse/core/tdebase/use-full-hinting-by-default.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/opensuse/core/tdebase/use-full-hinting-by-default.diff b/opensuse/core/tdebase/use-full-hinting-by-default.diff
new file mode 100644
index 000000000..3375f0943
--- /dev/null
+++ b/opensuse/core/tdebase/use-full-hinting-by-default.diff
@@ -0,0 +1,35 @@
+Index: kcontrol/fonts/fonts.cpp
+===================================================================
+--- kcontrol/fonts/fonts.cpp.orig
++++ kcontrol/fonts/fonts.cpp
+@@ -332,7 +332,7 @@ bool FontAASettings::load( bool useDefau
+ kglobals.setReadDefaults( useDefaults );
+
+ kglobals.setGroup("General");
+- hStyle=KXftConfig::Hint::Medium;
++ hStyle=KXftConfig::Hint::Full;
+ xft.setHintStyle(hStyle);
+ xft.apply(); // Save this setting
+ kglobals.writeEntry("XftHintStyle", KXftConfig::toStr(hStyle));
+@@ -450,7 +450,7 @@ KXftConfig::Hint::Style FontAASettings::
+ if(hintingStyle->currentText()==KXftConfig::description((KXftConfig::Hint::Style)s))
+ return (KXftConfig::Hint::Style)s;
+
+- return KXftConfig::Hint::Medium;
++ return KXftConfig::Hint::Full;
+ }
+ #endif
+
+Index: kcontrol/krdb/krdb.cpp
+===================================================================
+--- kcontrol/krdb/krdb.cpp.orig
++++ kcontrol/krdb/krdb.cpp
+@@ -524,7 +524,7 @@ void runRdb( uint flags )
+
+ if (kglobals.hasKey("XftHintStyle"))
+ {
+- QString hintStyle = kglobals.readEntry("XftHintStyle", "hintmedium");
++ QString hintStyle = kglobals.readEntry("XftHintStyle", "hintfull");
+ contents += "Xft.hinting: ";
+ if(hintStyle.isEmpty())
+ contents += "-1\n";