[colr] Remove COLRV1_ENABLE_SUBSETTING
This commit is contained in:
parent
9ab2c8034e
commit
c17afa48de
|
@ -42,10 +42,6 @@
|
||||||
#define HB_COLRV1_MAX_NESTING_LEVEL 100
|
#define HB_COLRV1_MAX_NESTING_LEVEL 100
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef COLRV1_ENABLE_SUBSETTING
|
|
||||||
#define COLRV1_ENABLE_SUBSETTING 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace OT {
|
namespace OT {
|
||||||
|
|
||||||
struct COLR;
|
struct COLR;
|
||||||
|
@ -1359,7 +1355,7 @@ struct COLR
|
||||||
(this+baseGlyphsZ).sanitize (c, numBaseGlyphs) &&
|
(this+baseGlyphsZ).sanitize (c, numBaseGlyphs) &&
|
||||||
(this+layersZ).sanitize (c, numLayers) &&
|
(this+layersZ).sanitize (c, numLayers) &&
|
||||||
(version == 0 ||
|
(version == 0 ||
|
||||||
(COLRV1_ENABLE_SUBSETTING && version == 1 &&
|
(version == 1 &&
|
||||||
baseGlyphList.sanitize (c, this) &&
|
baseGlyphList.sanitize (c, this) &&
|
||||||
layerList.sanitize (c, this) &&
|
layerList.sanitize (c, this) &&
|
||||||
clipList.sanitize (c, this) &&
|
clipList.sanitize (c, this) &&
|
||||||
|
|
Loading…
Reference in New Issue