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

parthw-pk-vf
Werner Lemberg 7 years ago
parent 93363cd737
commit 3c99016f8f
  1. 4
      ChangeLog
  2. 2
      src/truetype/ttgload.c

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

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

Loading…
Cancel
Save