shithub: freetype+ttf2subf

Download patch

ref: 3c99016f8fed63c2c6a10565d72bf7d8e924f57e
parent: 93363cd737a762fbc0e482eef386097b1ca04930
author: Werner Lemberg <[email protected]>
date: Tue May 22 03:53:49 EDT 2018

* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Trace # of points.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-22  Werner Lemberg  <[email protected]>
+
+	* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Trace # of points.
+
 2018-05-20  Werner Lemberg  <[email protected]>
 
 	* include/freetype/ftcolor.h: New file.
--- a/src/truetype/ttgload.c
+++ b/src/truetype/ttgload.c
@@ -382,6 +382,8 @@
         goto Invalid_Outline;
     }
 
+    FT_TRACE5(( "  # of points: %d\n", n_points ));
+
     /* note that we will add four phantom points later */
     error = FT_GLYPHLOADER_CHECK_POINTS( gloader, n_points + 4, 0 );
     if ( error )