[pango/matthiasc/for-main] test-itemize: Keep in sync with PangoLayout



commit 6e0d081289a8743c627805d50eff857a7797619f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 29 16:12:58 2021 -0400

    test-itemize: Keep in sync with PangoLayout
    
    This really needs some more generic treatment.

 tests/test-itemize.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/tests/test-itemize.c b/tests/test-itemize.c
index 00af2256..db6a715f 100644
--- a/tests/test-itemize.c
+++ b/tests/test-itemize.c
@@ -74,11 +74,12 @@ affects_itemization (PangoAttribute *attr,
     case PANGO_ATTR_GRAVITY:
     case PANGO_ATTR_GRAVITY_HINT:
     /* These are part of ItemProperties, so need to break runs */
+    case PANGO_ATTR_LETTER_SPACING:
     case PANGO_ATTR_SHAPE:
     case PANGO_ATTR_RISE:
-    case PANGO_ATTR_UNDERLINE:
-    case PANGO_ATTR_STRIKETHROUGH:
-    case PANGO_ATTR_LETTER_SPACING:
+    case PANGO_ATTR_LINE_HEIGHT:
+    case PANGO_ATTR_ABSOLUTE_LINE_HEIGHT:
+    case PANGO_ATTR_TEXT_TRANSFORM:
       return TRUE;
     default:
       return FALSE;


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