diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2020-08-04 22:17:05 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2020-08-04 22:17:05 -0400 |
commit | 3a1f4b7aaa30b05a363c5eac07122a1033699904 (patch) | |
tree | 0a95846898d57050c864f3abbb552fb5ba28ff3d | |
parent | 8b3601324fde1ba49338dd6279057cd366c25919 (diff) | |
download | freetype2-3a1f4b7aaa30b05a363c5eac07122a1033699904.tar.gz |
* src/truetype/ttgload.c (TT_Load_Glyph): More tracing.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | src/truetype/ttgload.c | 11 |
2 files changed, 13 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2020-08-04 Alexei Podtelezhnikov <apodtele@gmail.com> + + * src/truetype/ttgload.c (TT_Load_Glyph): More tracing. + 2020-07-28 Alexei Podtelezhnikov <apodtele@gmail.com> Hide internal functions with SunPro. diff --git a/src/truetype/ttgload.c b/src/truetype/ttgload.c index 671061356..d2d70a91f 100644 --- a/src/truetype/ttgload.c +++ b/src/truetype/ttgload.c @@ -2981,8 +2981,6 @@ error = compute_glyph_metrics( &loader, glyph_index ); } - tt_loader_done( &loader ); - /* Set the `high precision' bit flag. */ /* This is _critical_ to get correct output for monochrome */ /* TrueType glyphs at all sizes using the bytecode interpreter. */ @@ -2991,6 +2989,15 @@ size->metrics->y_ppem < 24 ) glyph->outline.flags |= FT_OUTLINE_HIGH_PRECISION; + FT_TRACE1(( " subglyphs = %u, contours = %hd, points = %hd," + " flags = 0x%.3x\n", + loader.gloader->base.num_subglyphs, + glyph->outline.n_contours, + glyph->outline.n_points, + glyph->outline.flags )); + + tt_loader_done( &loader ); + Exit: #ifdef FT_DEBUG_LEVEL_TRACE if ( error ) |