From 6388ce2224134804c32b376349aed34b80b62af9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 12 Mar 2025 20:58:06 -0600 Subject: [PATCH] [kerx] We don't need right_set in machine kerning --- src/hb-aat-layout-kerx-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index fbf0d39ca..96f5ed6fd 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -399,7 +399,7 @@ struct KerxSubTableFormat1 void collect_glyphs (set_t &left_set, set_t &right_set, unsigned num_glyphs) const { machine.collect_initial_glyphs (left_set, num_glyphs, *this); - machine.collect_glyphs (right_set, num_glyphs); + //machine.collect_glyphs (right_set, num_glyphs); // right_set is unused for machine kerning } protected: @@ -674,7 +674,7 @@ struct KerxSubTableFormat4 void collect_glyphs (set_t &left_set, set_t &right_set, unsigned num_glyphs) const { machine.collect_initial_glyphs (left_set, num_glyphs, *this); - machine.collect_glyphs (right_set, num_glyphs); + //machine.collect_glyphs (right_set, num_glyphs); // right_set is unused for machine kerning } protected: