summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 6a5dcfdd..ca4c33b6 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1762,6 +1762,7 @@ update_metrics_from_items (PangoFontMetrics *metrics,
/* metrics will already be initialized from the first font in the fontset */
metrics->ascent = MAX (metrics->ascent, raw_metrics->ascent);
metrics->descent = MAX (metrics->descent, raw_metrics->descent);
+ metrics->height = MAX (metrics->height, raw_metrics->height);
pango_font_metrics_unref (raw_metrics);
}