diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-10-28 21:39:23 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-10-28 21:39:23 -0400 |
commit | 05b5d7e74c89047921eb7ae0dfd2fcccc2f1df45 (patch) | |
tree | 30c813909cafff08ba8220a0d12883e7725bc54f /pango/pango-layout.c | |
parent | 518f59ce861967447a010f3ee572c06f9386ab00 (diff) | |
download | pango-05b5d7e74c89047921eb7ae0dfd2fcccc2f1df45.tar.gz |
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.
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r-- | pango/pango-layout.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |