summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jurkiewicz <[email protected]>2016-04-22 00:50:34 +0200
committerPiotr Jurkiewicz <[email protected]>2016-05-27 00:59:38 +0200
commitf7d59c0353773b5deb4f1d400abd6ebf2b03634c (patch)
treebb8832addbed7eacca206f1ed9f4bd6094eb7974
parent921505df63f9fa55089b519bd86292101e6921ca (diff)
downloadmate-settings-daemon-f7d59c0353773b5deb4f1d400abd6ebf2b03634c.tar.bz2
mate-settings-daemon-f7d59c0353773b5deb4f1d400abd6ebf2b03634c.tar.xz
Change default hinting style to 'hintslight'
Change this in order to match new default fontconfig settings (introduced in fontconfig 2.11.95).
-rw-r--r--data/org.mate.font-rendering.gschema.xml.in2
-rw-r--r--plugins/xsettings/msd-xsettings-manager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/org.mate.font-rendering.gschema.xml.in b/data/org.mate.font-rendering.gschema.xml.in
index 297e68d..4d9ac51 100644
--- a/data/org.mate.font-rendering.gschema.xml.in
+++ b/data/org.mate.font-rendering.gschema.xml.in
@@ -28,7 +28,7 @@
<description>The type of antialiasing to use when rendering fonts. Possible values are: "none" for no antialiasing, "grayscale" for standard grayscale antialiasing, and "rgba" for subpixel antialiasing (LCD screens only).</description>
</key>
<key name="hinting" enum="org.mate.font-rendering.Hinting">
- <default>'medium'</default>
+ <default>'slight'</default>
<summary>Hinting</summary>
<description>The type of hinting to use when rendering fonts. Possible values are: "none" for no hinting, "slight" for basic, "medium" for moderate, and "full" for maximum hinting (may cause distortion of letter forms).</description>
</key>
diff --git a/plugins/xsettings/msd-xsettings-manager.c b/plugins/xsettings/msd-xsettings-manager.c
index 06b5399..a4d4153 100644
--- a/plugins/xsettings/msd-xsettings-manager.c
+++ b/plugins/xsettings/msd-xsettings-manager.c
@@ -312,7 +312,7 @@ xft_settings_get (MateXSettingsManager *manager,
settings->antialias = TRUE;
settings->hinting = TRUE;
- settings->hintstyle = "hintfull";
+ settings->hintstyle = "hintslight";
settings->dpi = dpi * 1024; /* Xft wants 1/1024ths of an inch */
settings->cursor_theme = g_settings_get_string (mouse_gsettings, CURSOR_THEME_KEY);
settings->cursor_size = g_settings_get_int (mouse_gsettings, CURSOR_SIZE_KEY);