textview: Apply font features from css
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Aug 2021 00:21:23 +0000 (20:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 2 Sep 2021 23:59:41 +0000 (19:59 -0400)
commit6ad047ab798f7d524bd6379b15d3e9d661f8b454
tree26c5632eb708be454cd53da15841be8330ded2ac
parente7479db2ba52ee3f0845fe4aa693976b7a5ff6ad
textview: Apply font features from css

We were forgetting to propagate these values from
CSS to the default attributes. Share the code for
getting these values out of a GtkCssStyle.
gtk/gtkcssstyle.c
gtk/gtkcssstyleprivate.h
gtk/gtktextview.c