* src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps.

This commit is contained in:
Werner Lemberg 2020-06-02 17:14:54 +02:00
parent 62fea391fa
commit 9e6e903cc4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-06-02 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps.
2020-05-18 David Turner <david@freetype.org>
Remove obsolete HAVE_STDINT_H probing macro.

View File

@ -3788,8 +3788,9 @@
p += 2;
num_cmaps = TT_NEXT_USHORT( p );
limit = table + face->cmap_size;
FT_TRACE4(( "tt_face_build_cmaps: %d cmaps\n", num_cmaps ));
limit = table + face->cmap_size;
for ( ; num_cmaps > 0 && p + 8 <= limit; num_cmaps-- )
{
FT_CharMapRec charmap;