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.
This commit is contained in:
Matthias Clasen
2019-04-18 18:08:10 +00:00
parent 1932a50d36
commit 8727b0708e

View File

@@ -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));