From 827be1b23c124040af85d9f923ae688486b6ae37 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Feb 2025 10:23:10 -0700 Subject: [PATCH] Revert "[MultiVarStore] Micro-optimize" This reverts commit 13d98f1ded00d025b85816ceee056da6f121d555. This broke bots. I don't fully understand why tests pass locally. --- src/hb-ot-layout-common.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 2670c0106..f9a5c1b9c 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -2576,12 +2576,6 @@ struct VarRegionList for (unsigned int i = 0; i < count; i++) { int coord = i < coord_len ? coords[i] : 0; - if (coord == 0) - { - if (cache) - *cached_value = 0.f; - return 0.f; - } float factor = axes[i].evaluate (coord); if (factor == 0.f) {