From 3c99016f8fed63c2c6a10565d72bf7d8e924f57e Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Tue, 22 May 2018 07:53:49 +0200 Subject: [PATCH] * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Trace # of points. --- ChangeLog | 4 ++++ src/truetype/ttgload.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index f5d676df3..f6f278730 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2018-05-22 Werner Lemberg + + * src/truetype/ttgload.c (TT_Load_Simple_Glyph): Trace # of points. + 2018-05-20 Werner Lemberg * include/freetype/ftcolor.h: New file. diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 95ba68dd3..33ca681b1 100644 --- 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 )