From b1a9219ac5ad1c159aecd9b2e3ffbc942433ba6d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 12 Mar 2025 19:13:14 -0600 Subject: [PATCH] [aat] Clear buffer glyph set Should be clear already but no harm. --- src/hb-aat-layout-common.hh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index fa34afaa7..02ee09058 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -98,7 +98,10 @@ struct hb_aat_apply_context_t : using_buffer_glyph_set = buffer->len >= 4; if (using_buffer_glyph_set) + { + buffer_glyph_set.clear (); buffer->collect_codepoints (buffer_glyph_set); + } } bool buffer_intersects_machine () const {