From f7d59c0353773b5deb4f1d400abd6ebf2b03634c Mon Sep 17 00:00:00 2001 From: Piotr Jurkiewicz Date: Fri, 22 Apr 2016 00:50:34 +0200 Subject: Change default hinting style to 'hintslight' Change this in order to match new default fontconfig settings (introduced in fontconfig 2.11.95). --- data/org.mate.font-rendering.gschema.xml.in | 2 +- plugins/xsettings/msd-xsettings-manager.c | 2 +- 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 @@ 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). - 'medium' + 'slight' Hinting 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). 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); -- cgit v1.2.1