From 9e650b4e0cd0571caf9e67f0186ea3690e615710 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2022 12:01:52 -0600 Subject: [PATCH] [Coverage] Speedup intersect_set --- src/OT/Layout/Common/CoverageFormat2.hh | 1 - 1 file changed, 1 deletion(-) diff --git a/src/OT/Layout/Common/CoverageFormat2.hh b/src/OT/Layout/Common/CoverageFormat2.hh index 98272a37b..6599482c5 100644 --- a/src/OT/Layout/Common/CoverageFormat2.hh +++ b/src/OT/Layout/Common/CoverageFormat2.hh @@ -144,7 +144,6 @@ struct CoverageFormat2_4 { for (const auto& range : rangeRecord.as_array ()) { - if (!range.intersects (glyphs)) continue; unsigned last = range.last; for (hb_codepoint_t g = range.first - 1; glyphs.next (&g) && g <= last;)