From 4a19a53d5a89d13047b64c4972252e6af2e8badc Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 4 Feb 2020 13:37:19 +0100 Subject: * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#57732). The font that exceeds the old limit is Constantine, version 1.001. --- ChangeLog | 6 ++++++ src/truetype/ttinterp.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 46f213c9d..7c0c34e69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2020-02-04 Werner Lemberg + + * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#57732). + + The font that exceeds the old limit is Constantine, version 1.001. + 2020-01-04 Werner Lemberg [base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`. 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 */ -- cgit v1.2.1