[colr] Remove COLRV1_ENABLE_SUBSETTING

This commit is contained in:
Behdad Esfahbod 2022-12-11 12:53:55 -07:00
parent 9ab2c8034e
commit c17afa48de
1 changed files with 1 additions and 5 deletions

View File

@ -42,10 +42,6 @@
#define HB_COLRV1_MAX_NESTING_LEVEL 100
#endif
#ifndef COLRV1_ENABLE_SUBSETTING
#define COLRV1_ENABLE_SUBSETTING 1
#endif
namespace OT {
struct COLR;
@ -1359,7 +1355,7 @@ struct COLR
(this+baseGlyphsZ).sanitize (c, numBaseGlyphs) &&
(this+layersZ).sanitize (c, numLayers) &&
(version == 0 ||
(COLRV1_ENABLE_SUBSETTING && version == 1 &&
(version == 1 &&
baseGlyphList.sanitize (c, this) &&
layerList.sanitize (c, this) &&
clipList.sanitize (c, this) &&