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

The font that exceeds the old limit is Constantine, version 1.001.
GSoC-2020-greg
Werner Lemberg 5 years ago
parent e5038be704
commit 4a19a53d5a
  1. 6
      ChangeLog
  2. 2
      src/truetype/ttinterp.c

@ -1,3 +1,9 @@
2020-02-04 Werner Lemberg <wl@gnu.org>
* src/truetype/ttinterp.c (TT_RunIns): Adjust loop counter (#57732).
The font that exceeds the old limit is Constantine, version 1.001.
2020-01-04 Werner Lemberg <wl@gnu.org>
[base] Fix `FREETYPE_PROPERTIES=type1:hinting-engine=adobe`.

@ -7872,7 +7872,7 @@
FT_MAX( 50,
exc->cvtSize / 10 );
else
exc->loopcall_counter_max = 300 + 8 * exc->cvtSize;
exc->loopcall_counter_max = 300 + 10 * exc->cvtSize;
/* as a protection against an unreasonable number of CVT entries */
/* we assume at most 100 control values per glyph for the counter */

Loading…
Cancel
Save