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

This commit is contained in:
Werner Lemberg 2018-05-22 07:53:49 +02:00
parent 93363cd737
commit 3c99016f8f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2018-05-22 Werner Lemberg <wl@gnu.org>
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Trace # of points.
2018-05-20 Werner Lemberg <wl@gnu.org>
* include/freetype/ftcolor.h: New file.

View File

@ -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 )