[pango/text-transform-3: 2/9] layout: Text transform affects shape




commit 24dfe3933a8261cf7073aef22ee3a403065a2b4b
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Aug 20 17:21:00 2021 -0400

    layout: Text transform affects shape
    
    Classify text transform as an attribute that
    affects shaping. It will, in the future.

 pango/pango-layout.c | 1 +
 1 file changed, 1 insertion(+)
---
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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]