From a45da2534960586fabea22481bd21ed5ed766022 Mon Sep 17 00:00:00 2001 From: Jakub Alba Date: Fri, 8 May 2020 10:59:37 +0200 Subject: [PATCH] * src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#58319). The font that exceeds the old limit is Icono Regular, version 1.00000. --- ChangeLog | 7 +++++++ src/truetype/ttinterp.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 */