[gtk/subpixel-positioning: 3/6] Turn off metrics hinting



commit 4de670b0b478329d161b4ead7927f29233531d6f
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]