From eb6eb868ecf83fc79395373cf7891495e94cc88f Mon Sep 17 00:00:00 2001 From: Piotr Jurkiewicz Date: Sun, 24 Apr 2016 01:04:01 +0200 Subject: Change default hinting style of 'Subpixel smoothing' mode to slight Also render antialiasing samples using HINT_SLIGHT instead HINT_FULL. Change this in order to match change of default hinting style to 'hintslight' introduced in mate-desktop/mate-settings-daemon@f7d59c0353773b5deb4f1d400abd6ebf. Change in mate-settings-daemon was made in order to match new default hinting style settings introduced in fontconfig 2.11.95. --- capplets/appearance/appearance-font.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'capplets') diff --git a/capplets/appearance/appearance-font.c b/capplets/appearance/appearance-font.c index b5ab02b3..26db940e 100644 --- a/capplets/appearance/appearance-font.c +++ b/capplets/appearance/appearance-font.c @@ -550,9 +550,9 @@ cb_show_details (GtkWidget *button, g_signal_connect (data->font_settings, "changed::" FONT_DPI_KEY, G_CALLBACK (dpi_changed), widget); - setup_font_sample (appearance_capplet_get_widget (data, "antialias_none_sample"), ANTIALIAS_NONE, HINT_FULL); - setup_font_sample (appearance_capplet_get_widget (data, "antialias_grayscale_sample"), ANTIALIAS_GRAYSCALE, HINT_FULL); - setup_font_sample (appearance_capplet_get_widget (data, "antialias_subpixel_sample"), ANTIALIAS_RGBA, HINT_FULL); + setup_font_sample (appearance_capplet_get_widget (data, "antialias_none_sample"), ANTIALIAS_NONE, HINT_SLIGHT); + setup_font_sample (appearance_capplet_get_widget (data, "antialias_grayscale_sample"), ANTIALIAS_GRAYSCALE, HINT_SLIGHT); + setup_font_sample (appearance_capplet_get_widget (data, "antialias_subpixel_sample"), ANTIALIAS_RGBA, HINT_SLIGHT); group = enum_group_create ( data->font_settings, FONT_ANTIALIASING_KEY, @@ -659,7 +659,7 @@ void font_init(AppearanceData* data) setup_font_pair(appearance_capplet_get_widget(data, "monochrome_radio"), appearance_capplet_get_widget (data, "monochrome_sample"), ANTIALIAS_NONE, HINT_FULL); setup_font_pair(appearance_capplet_get_widget(data, "best_shapes_radio"), appearance_capplet_get_widget (data, "best_shapes_sample"), ANTIALIAS_GRAYSCALE, HINT_MEDIUM); setup_font_pair(appearance_capplet_get_widget(data, "best_contrast_radio"), appearance_capplet_get_widget (data, "best_contrast_sample"), ANTIALIAS_GRAYSCALE, HINT_FULL); - setup_font_pair(appearance_capplet_get_widget(data, "subpixel_radio"), appearance_capplet_get_widget (data, "subpixel_sample"), ANTIALIAS_RGBA, HINT_FULL); + setup_font_pair(appearance_capplet_get_widget(data, "subpixel_radio"), appearance_capplet_get_widget (data, "subpixel_sample"), ANTIALIAS_RGBA, HINT_SLIGHT); font_render_load (data->font_settings); -- cgit v1.2.1