shithub: freetype+ttf2subf

Download patch

ref: a45da2534960586fabea22481bd21ed5ed766022
parent: ed62b12d6c810c1b046a53ee6b0d25c5f61944a1
author: Jakub Alba <jalba@vewd.com>
date: Fri May 8 06:59:37 EDT 2020

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

The font that exceeds the old limit is Icono Regular, version
1.00000.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
--- 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 */