From 358cc4f153001d3c1d1c869d5086ce286ab1e0b6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 26 Nov 2021 15:52:59 -0500 Subject: Make sure glyphinfo is fully initialized The alternative is random test failures, now that we check all these fields in test-layout. --- pango/pango-layout.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pango/pango-layout.c b/pango/pango-layout.c index a5806774..703f4573 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -3501,6 +3501,7 @@ shape_tab (PangoLayoutLine *line, glyphs->glyphs[0].geometry.x_offset = 0; glyphs->glyphs[0].geometry.y_offset = 0; glyphs->glyphs[0].attr.is_cluster_start = 1; + glyphs->glyphs[0].attr.is_color = 0; glyphs->log_clusters[0] = 0; -- cgit v1.2.1