summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-22 16:22:31 +0000
committerMatthias Clasen <mclasen@redhat.com>2021-08-22 16:22:31 +0000
commitc28f0a8ff714564805f2331590af602d797cba11 (patch)
tree5f7e8efc0da8c2ff5b3f266c8c552b871d716dbb
parente17cda32d6501b20cbc23cc8c274362736c2bcc8 (diff)
parent038612afb0f4e92a5adbafc6e761917924df6494 (diff)
downloadpango-c28f0a8ff714564805f2331590af602d797cba11.tar.gz
Merge branch 'matthiasc/for-main' into 'main'
Fix an oversight with text-transform See merge request GNOME/pango!430
-rw-r--r--pango/pango-layout.c2
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;