From 05b5d7e74c89047921eb7ae0dfd2fcccc2f1df45 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 28 Oct 2019 21:39:23 -0400 Subject: Don't treat rise as a no-shape attribute It doesn't make sense to apply kerning between letters if they are not on the same baseline. This was not noticed so far, since it is very uncommon to have a rise without an accompanying font change, which will cause the run to be broken. --- pango/pango-layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index c58495c4..aa290038 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4085,6 +4085,7 @@ affects_itemization (PangoAttribute *attr, /* These need to be constant across runs */ case PANGO_ATTR_LETTER_SPACING: case PANGO_ATTR_SHAPE: + case PANGO_ATTR_RISE: return TRUE; default: return FALSE; -- cgit v1.2.1