[pango/visible-things: 25/32] layout: The show attribute affects shaping



commit e690d2402462325fec08fc03525259af9753c78f
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jul 25 00:36:45 2019 -0400

    layout: The show attribute affects shaping

 pango/pango-layout.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index e7db7563..5db6f7e1 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -4022,6 +4022,7 @@ affects_break_or_shape (PangoAttribute *attr,
     case PANGO_ATTR_ALLOW_BREAKS:
     /* Affects shaping */
     case PANGO_ATTR_FONT_FEATURES:
+    case PANGO_ATTR_SHOW:
       return TRUE;
     default:
       return FALSE;


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