From a45da2534960586fabea22481bd21ed5ed766022 Mon Sep 17 00:00:00 2001 From: Jakub Alba Date: Fri, 8 May 2020 10:59:37 +0200 Subject: * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#58319). The font that exceeds the old limit is Icono Regular, version 1.00000. --- src/truetype/ttinterp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/truetype/ttinterp.c b/src/truetype/ttinterp.c index 32f676abc..321504097 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 + 10 * exc->cvtSize; + exc->loopcall_counter_max = 300 + 22 * 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