[subset] Fix HB_TINY build

Fixes https://github.com/harfbuzz/harfbuzzjs/issues/34#issuecomment-789247723
This commit is contained in:
Behdad Esfahbod 2021-03-02 15:05:22 -07:00
parent 7cb22ba7eb
commit 2902529b92
1 changed files with 6 additions and 3 deletions

View File

@ -3434,7 +3434,10 @@ struct GSUBGPOS
if (f.featureParams.is_null ()
&& !f.intersects_lookup_indexes (lookup_indices)
&& !alternate_feature_indices.has (i))
#ifndef HB_NO_VAR
&& !alternate_feature_indices.has (i)
#endif
)
feature_indices->del (i);
}
}