summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Jurkiewicz <[email protected]>2016-04-24 01:04:01 +0200
committerPiotr Jurkiewicz <[email protected]>2016-05-27 02:07:58 +0200
commiteb6eb868ecf83fc79395373cf7891495e94cc88f (patch)
tree0bd741b2045299cc806c01c6cc851ba58ff7843d
parent183b80d1d681228f1158613e679617040885e489 (diff)
downloadmate-control-center-eb6eb868ecf83fc79395373cf7891495e94cc88f.tar.bz2
mate-control-center-eb6eb868ecf83fc79395373cf7891495e94cc88f.tar.xz
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.
-rw-r--r--capplets/appearance/appearance-font.c8
1 files changed, 4 insertions, 4 deletions
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);