From fff48b4572d9989b0ba50a862ef2418d96d3e699 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 23 Apr 2024 14:20:31 -0600 Subject: [PATCH] Remove unnecessary comment Resolves https://github.com/harfbuzz/harfbuzz/issues/4677 --- 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 3a4c6b0d7..c3af71365 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -3729,9 +3729,6 @@ struct ItemVarStoreInstancer float operator[] (uint32_t varIdx) const { return (*this) (varIdx); } - /* according to the spec, if colr table has varStore but does not have - * varIdxMap, then an implicit identity mapping is used */ - /* Humm? https://github.com/harfbuzz/harfbuzz/issues/4677 */ float operator() (uint32_t varIdx, unsigned short offset = 0) const { return coords ? varStore->get_delta (varIdxMap ? varIdxMap->map (VarIdx::add (varIdx, offset)) : varIdx + offset, coords) : 0.f; } @@ -3760,9 +3757,6 @@ struct MultiItemVarStoreInstancer return v; } - /* according to the spec, if colr table has varStore but does not have - * varIdxMap, then an implicit identity mapping is used */ - /* Humm? https://github.com/harfbuzz/harfbuzz/issues/4677 */ void operator() (hb_array_t out, uint32_t varIdx, unsigned short offset = 0) const { if (coords)