diff options
author | Werner Lemberg <wl@gnu.org> | 2020-02-04 13:37:19 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2020-02-04 13:37:19 +0100 |
commit | 4a19a53d5a89d13047b64c4972252e6af2e8badc (patch) | |
tree | 67551f7897c809666d3bc92ac503828b8602e73c /src/truetype/ttinterp.c | |
parent | e5038be70414cf66da6c4d5ce4e30375884c30d8 (diff) | |
download | freetype2-4a19a53d5a89d13047b64c4972252e6af2e8badc.tar.gz |
* src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#57732).
The font that exceeds the old limit is Constantine, version 1.001.
Diffstat (limited to 'src/truetype/ttinterp.c')
-rw-r--r-- | src/truetype/ttinterp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 3dca88e1c..32f676abc 100644 --- a/src/truetype/ttinterp.c +++ b/src/truetype/ttinterp.c @@ -7872,7 +7872,7 @@ FT_MAX( 50, exc->cvtSize / 10 ); else - exc->loopcall_counter_max = 300 + 8 * exc->cvtSize; + exc->loopcall_counter_max = 300 + 10 * exc->cvtSize; /* as a protection against an unreasonable number of CVT entries */ /* we assume at most 100 control values per glyph for the counter */ |