From 45b2d28d0476e8e6a00f135d25c66291959eb166 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 12 Mar 2025 19:18:12 -0600 Subject: [PATCH] Revert "[aat] Clear buffer glyph set" This reverts commit b1a9219ac5ad1c159aecd9b2e3ffbc942433ba6d. Was unnecessary. collect_codepoints() clears the set. --- src/hb-aat-layout-common.hh | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index dc22f13a4..55d2975a4 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -98,10 +98,7 @@ 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 {