summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-07-28 13:31:24 -0400
committerMatthias Clasen <mclasen@redhat.com>2018-07-28 13:31:24 -0400
commitd9bc8232c69c68f7b89d4051b329627b2c0dc2c2 (patch)
treed76bb9061db276b84a2d7064682cd921fe2e812e
parent8740690ecbab691bee29a98b907fe87c43a4ddc2 (diff)
downloadgtk+-font-rendering-demo-3.tar.gz
Turn off metrics hintingfont-rendering-demo-3
This will be necessary to see the effects of subpixel positioning.
-rw-r--r--gtk/gtksettings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 08e16f074a..047f893f11 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -3033,7 +3033,7 @@ settings_update_font_options (GtkSettings *settings)
options = cairo_font_options_create ();
- cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_ON);
+ cairo_font_options_set_hint_metrics (options, CAIRO_HINT_METRICS_OFF);
hint_style = CAIRO_HINT_STYLE_DEFAULT;
if (hinting == 0)