From b9d5e7a8bbc15ffdffd2a00c2ca8497cbed4d85a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 11 Dec 2022 12:54:19 -0700 Subject: [PATCH] [colr] Set HB_COLRV1_MAX_NESTING_LEVEL to 16 Was 100. That seemed excessive. --- src/hb-ot-color-colr-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-color-colr-table.hh b/src/hb-ot-color-colr-table.hh index 3e370df33..bd274f24a 100644 --- a/src/hb-ot-color-colr-table.hh +++ b/src/hb-ot-color-colr-table.hh @@ -39,7 +39,7 @@ #define HB_OT_TAG_COLR HB_TAG('C','O','L','R') #ifndef HB_COLRV1_MAX_NESTING_LEVEL -#define HB_COLRV1_MAX_NESTING_LEVEL 100 +#define HB_COLRV1_MAX_NESTING_LEVEL 16 #endif namespace OT {