diff --git a/ChangeLog b/ChangeLog index b53c09961..05ae6f830 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2020-05-08 Jakub Alba + + * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#58319). + + The font that exceeds the old limit is Icono Regular, version + 1.00000. + 2020-05-03 Alexei Podtelezhnikov * builds/freetype.mk: Refactor for readability. 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 */