* src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps.
diff --git a/ChangeLog b/ChangeLog
index 2965ed1..540dc83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index 2c34efb..76fafa2 100644
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -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;