Index: third_party/freetype/src/cff/cffgload.h |
diff --git a/third_party/freetype/src/cff/cffgload.h b/third_party/freetype/src/cff/cffgload.h |
index 41df7db692878d80556edb91bac4ea3174e3bceb..5f2655f3d98424667f100975204f4595f2e447bb 100644 |
--- a/third_party/freetype/src/cff/cffgload.h |
+++ b/third_party/freetype/src/cff/cffgload.h |
@@ -4,7 +4,7 @@ |
/* */ |
/* OpenType Glyph Loader (specification). */ |
/* */ |
-/* Copyright 1996-2004, 2006-2009, 2013 by */ |
+/* Copyright 1996-2015 by */ |
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
/* */ |
/* This file is part of the FreeType project, and may only be used, */ |
@@ -29,7 +29,12 @@ FT_BEGIN_HEADER |
#define CFF_MAX_OPERANDS 48 |
-#define CFF_MAX_SUBRS_CALLS 32 |
+#define CFF_MAX_SUBRS_CALLS 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 */ |
#define CFF_MAX_TRANS_ELEMENTS 32 |