shithub: freetype+ttf2subf

Download patch

ref: 9e6e903cc4f6f2de86356d551e74eace75927c31
parent: 62fea391fa9993f8c1d206a50080d690178ce518
author: Werner Lemberg <[email protected]>
date: Tue Jun 2 13:14:54 EDT 2020

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

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-02  Werner Lemberg  <[email protected]>
+
+	* src/sfnt/ttcmap.c (tt_face_build_cmaps): Trace number of cmaps.
+
 2020-05-18  David Turner  <[email protected]>
 
 	Remove obsolete HAVE_STDINT_H probing macro.
--- 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;