[gtk/subpixel-positioning: 12/14] Turn off metrics hinting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/subpixel-positioning: 12/14] Turn off metrics hinting
- Date: Sun, 28 Jul 2019 14:07:53 +0000 (UTC)
commit 45b6032c52e21daf84e0dd7d8211b437e093465c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 28 13:33:26 2018 -0400
Turn off metrics hinting
This will be necessary to see the effects of subpixel positioning.
gtk/gtksettings.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 77aeb3bf1b..b3203e4c66 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -2062,7 +2062,7 @@ settings_update_font_options (GtkSettings *settings)
priv->font_options = cairo_font_options_create ();
- cairo_font_options_set_hint_metrics (priv->font_options, CAIRO_HINT_METRICS_ON);
+ cairo_font_options_set_hint_metrics (priv->font_options, CAIRO_HINT_METRICS_OFF);
hint_style = CAIRO_HINT_STYLE_DEFAULT;
if (hinting == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]