summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-26 15:52:59 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-26 15:52:59 -0500
commit358cc4f153001d3c1d1c869d5086ce286ab1e0b6 (patch)
treee38cfb407e98c36923aba89d374d6e282c7c7c58 /pango
parent46374f90004edafe466b99c2b4ab66526b285b22 (diff)
downloadpango-358cc4f153001d3c1d1c869d5086ce286ab1e0b6.tar.gz
Make sure glyphinfo is fully initialized
The alternative is random test failures, now that we check all these fields in test-layout.
Diffstat (limited to 'pango')
-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 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;