Index: third_party/freetype/src/cff/cf2font.h |
diff --git a/third_party/freetype/src/cff/cf2font.h b/third_party/freetype/src/cff/cf2font.h |
index d8860ce8ed5d904be9960fd28c1dcdbf7ed2c66f..86cf02f49d1bca17bcd0330d2c997146dd2aac60 100644 |
--- a/third_party/freetype/src/cff/cf2font.h |
+++ b/third_party/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' */ |