[cff] Fix Savannah bug #44629.
* src/cff/cf2font.h (CF2_MAX_SUBR), src/cff/cffgload.h (CFF_MAX_SUBRS_CALLS): Set to 16.
This commit is contained in:
parent
10e2bb8b3d
commit
f353a38e87
@ -1,3 +1,10 @@
|
||||
2015-03-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Fix Savannah bug #44629.
|
||||
|
||||
* src/cff/cf2font.h (CF2_MAX_SUBR), src/cff/cffgload.h
|
||||
(CFF_MAX_SUBRS_CALLS): Set to 16.
|
||||
|
||||
2015-03-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[type1, truetype] Make the MM API more flexible w.r.t. `num_coords'.
|
||||
|
@ -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' */
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user