* src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#58319).

The font that exceeds the old limit is Icono Regular, version
1.00000.
This commit is contained in:
Jakub Alba 2020-05-08 10:59:37 +02:00 committed by Werner Lemberg
parent ed62b12d6c
commit a45da25349
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2020-05-08 Jakub Alba <jalba@vewd.com>
* 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 <apodtele@gmail.com>
* builds/freetype.mk: Refactor for readability.

View File

@ -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 */