From 2cc06f60c5326cbdff6c3f63abf230487366b7ae Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 22 Aug 2021 13:39:34 -0400 Subject: [PATCH] textview: Set line height from markup Note that we ignore the absolute-line-height attribute for now. --- gtk/gtktextbuffer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index 2101776e95..a611e48a91 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -4691,6 +4691,9 @@ insert_tags_for_attributes (GtkTextBuffer *buffer, #if PANGO_VERSION_CHECK(1, 49, 0) case PANGO_ATTR_LINE_HEIGHT: + FLOAT_ATTR (line_height); + break; + case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT: break; #endif