diff options
| author | Matthias Clasen <mclasen@redhat.com> | 2018-07-28 13:31:24 -0400 |
|---|---|---|
| committer | Matthias Clasen <mclasen@redhat.com> | 2018-07-28 13:31:24 -0400 |
| commit | d9bc8232c69c68f7b89d4051b329627b2c0dc2c2 (patch) | |
| tree | d76bb9061db276b84a2d7064682cd921fe2e812e | |
| parent | 8740690ecbab691bee29a98b907fe87c43a4ddc2 (diff) | |
| download | gtk+-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.c | 2 |
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) |
