summaryrefslogtreecommitdiff
path: root/src/truetype/ttinterp.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2020-02-04 13:37:19 +0100
committerWerner Lemberg <wl@gnu.org>2020-02-04 13:37:19 +0100
commit4a19a53d5a89d13047b64c4972252e6af2e8badc (patch)
tree67551f7897c809666d3bc92ac503828b8602e73c /src/truetype/ttinterp.c
parente5038be70414cf66da6c4d5ce4e30375884c30d8 (diff)
downloadfreetype2-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.c2
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 */