aboutsummaryrefslogtreecommitdiff
path: root/freetype/src/cff/cf2font.h
diff options
context:
space:
mode:
Diffstat (limited to 'freetype/src/cff/cf2font.h')
-rw-r--r--freetype/src/cff/cf2font.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/freetype/src/cff/cf2font.h b/freetype/src/cff/cf2font.h
index d8860ce8e..86cf02f49 100644
--- a/freetype/src/cff/cf2font.h
+++ b/freetype/src/cff/cf2font.h
@@ -48,7 +48,12 @@ FT_BEGIN_HEADER
#define CF2_OPERAND_STACK_SIZE 48
-#define CF2_MAX_SUBR 10 /* maximum subroutine nesting */
+#define CF2_MAX_SUBR 16 /* maximum subroutine nesting; */
+ /* only 10 are allowed but there exist */
+ /* fonts like `HiraKakuProN-W3.ttf' */
+ /* (Hiragino Kaku Gothic ProN W3; */
+ /* 8.2d6e1; 2014-12-19) that exceed */
+ /* this limit */
/* typedef is in `cf2glue.h' */