projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb230d
)
textview: Don't forget to collect css letterspacing
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 26 Aug 2021 19:01:23 +0000
(15:01 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 2 Sep 2021 23:08:05 +0000
(19:08 -0400)
There are more properties missing, this is just the start.
Fixes: #4207
gtk/gtktextview.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextview.c
b/gtk/gtktextview.c
index 3f603f1bdcb1073bc02df2a3260c6b78406d7e82..89ad146fbb61853a2618552cc915464c52b0eb42 100644
(file)
--- a/
gtk/gtktextview.c
+++ b/
gtk/gtktextview.c
@@
-7657,6
+7657,8
@@
gtk_text_view_set_attributes_from_style (GtkTextView *text_view,
pango_font_description_free (values->font);
values->font = gtk_css_style_get_pango_font (style);
+
+ values->letter_spacing = _gtk_css_number_value_get (style->font->letter_spacing, 100) * PANGO_SCALE;
}
static void