From 8727b0708e40e018bd2272d5d600e2b603713630 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 18 Apr 2019 18:08:10 +0000 Subject: [PATCH] css: Kerning affects text size Thats the point. And we were missing the proper flags to make GTK do the right thing when changing font-kerning in the inspector. --- gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkcssstylepropertyimpl.c b/gtk/gtkcssstylepropertyimpl.c index 251adb4a9a..a1987b751a 100644 --- a/gtk/gtkcssstylepropertyimpl.c +++ b/gtk/gtkcssstylepropertyimpl.c @@ -1063,7 +1063,7 @@ _gtk_css_style_property_init_properties (void) GTK_CSS_PROPERTY_FONT_KERNING, G_TYPE_NONE, 0, - GTK_CSS_AFFECTS_TEXT_ATTRS, + GTK_CSS_AFFECTS_TEXT_ATTRS | GTK_CSS_AFFECTS_TEXT_SIZE, parse_font_kerning, NULL, _gtk_css_font_kerning_value_new (GTK_CSS_FONT_KERNING_AUTO));