diff --git a/src/hb-ot-color-colr-table.hh b/src/hb-ot-color-colr-table.hh index 92a49bb4f..7d79d575a 100644 --- a/src/hb-ot-color-colr-table.hh +++ b/src/hb-ot-color-colr-table.hh @@ -217,6 +217,7 @@ struct COLR BaseGlyphRecord new_record; new_record.glyphId = new_gid; new_record.numLayers = old_record->numLayers; + new_record.firstLayerIdx = 0; // Updated during serialization. return hb_pair_t (true, new_record); }) | hb_filter (hb_first)