diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-22 12:13:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-22 12:13:15 -0400 |
commit | 038612afb0f4e92a5adbafc6e761917924df6494 (patch) | |
tree | 5f7e8efc0da8c2ff5b3f266c8c552b871d716dbb | |
parent | e17cda32d6501b20cbc23cc8c274362736c2bcc8 (diff) | |
download | pango-038612afb0f4e92a5adbafc6e761917924df6494.tar.gz |
Fix an oversight with text-transform
With the current implementation of text-transform,
we need the attribute to be constant across runs.
-rw-r--r-- | pango/pango-layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index 9114e9a1..8f5a6363 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -4304,6 +4304,7 @@ affects_itemization (PangoAttribute *attr, case PANGO_ATTR_RISE: case PANGO_ATTR_LINE_HEIGHT: case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT: + case PANGO_ATTR_TEXT_TRANSFORM: return TRUE; default: return FALSE; @@ -4322,7 +4323,6 @@ affects_break_or_shape (PangoAttribute *attr, case PANGO_ATTR_INSERT_HYPHENS: case PANGO_ATTR_FONT_FEATURES: case PANGO_ATTR_SHOW: - case PANGO_ATTR_TEXT_TRANSFORM: return TRUE; default: return FALSE; |