From 450d834679738820e1d9afa579de125bb8087dbf Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2022 11:05:35 -0600 Subject: [PATCH] [subset/PairPosFormat1] Speed up significantly --- src/OT/Layout/GPOS/SinglePosFormat1.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OT/Layout/GPOS/SinglePosFormat1.hh b/src/OT/Layout/GPOS/SinglePosFormat1.hh index 8b7840ed0..2ae692831 100644 --- a/src/OT/Layout/GPOS/SinglePosFormat1.hh +++ b/src/OT/Layout/GPOS/SinglePosFormat1.hh @@ -105,8 +105,8 @@ struct SinglePosFormat1 const hb_map_t &glyph_map = *c->plan->glyph_map; auto it = - + hb_iter (this+coverage) - | hb_filter (glyphset) + + hb_iter (glyphset) + | hb_filter (this+coverage) | hb_map_retains_sorting (glyph_map) | hb_zip (hb_repeat (values.as_array (valueFormat.get_len ()))) ;