forked from minhngoc25a/freetype2
[autofit] Tracing fixes.
* src/autofit/afmodule.c (af_autofitter_load_glyph): Call dumping functions only if we actually do tracing.
This commit is contained in:
parent
53ae7a542d
commit
2f2e73c50c
|
@ -1,3 +1,10 @@
|
|||
2016-09-24 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Tracing fixes.
|
||||
|
||||
* src/autofit/afmodule.c (af_autofitter_load_glyph): Call dumping
|
||||
functions only if we actually do tracing.
|
||||
|
||||
2016-09-22 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||
|
||||
[smooth] Reduce divisions in the line renderer.
|
||||
|
|
|
@ -521,9 +521,16 @@
|
|||
error = af_loader_load_glyph( loader, module, slot->face,
|
||||
glyph_index, load_flags );
|
||||
|
||||
af_glyph_hints_dump_points( hints, 0 );
|
||||
af_glyph_hints_dump_segments( hints, 0 );
|
||||
af_glyph_hints_dump_edges( hints, 0 );
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
if ( ft_trace_levels[FT_COMPONENT] )
|
||||
{
|
||||
#endif
|
||||
af_glyph_hints_dump_points( hints, 0 );
|
||||
af_glyph_hints_dump_segments( hints, 0 );
|
||||
af_glyph_hints_dump_edges( hints, 0 );
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
}
|
||||
#endif
|
||||
|
||||
af_loader_done( loader );
|
||||
|
||||
|
|
Loading…
Reference in New Issue