summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-20 17:21:00 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-20 23:15:03 -0400
commit24dfe3933a8261cf7073aef22ee3a403065a2b4b (patch)
tree792b7227921aeba1b8bbb0c42ce4f206f31b37be
parentbf5e07101758040025d1bc3a592c9dcd982c0edc (diff)
downloadpango-24dfe3933a8261cf7073aef22ee3a403065a2b4b.tar.gz
layout: Text transform affects shape
Classify text transform as an attribute that affects shaping. It will, in the future.
-rw-r--r--pango/pango-layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 669410ee..8caea4d0 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4317,6 +4317,7 @@ 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;