[gtk/font-rendering-demo-3] Turn off metrics hinting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/font-rendering-demo-3] Turn off metrics hinting
- Date: Sat, 28 Jul 2018 17:34:00 +0000 (UTC)
commit d9bc8232c69c68f7b89d4051b329627b2c0dc2c2
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jul 28 13:31:24 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 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]