forked from minhngoc25a/freetype2
Fix minor tracing issues.
* src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.
This commit is contained in:
parent
18b552f6ae
commit
ae425e5189
|
@ -1,3 +1,9 @@
|
|||
2010-06-29 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix minor tracing issues.
|
||||
|
||||
* src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.
|
||||
|
||||
2010-06-27 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[cff] Really fix `hintmask' and `cntrmask' limit check.
|
||||
|
|
|
@ -429,7 +429,7 @@
|
|||
goto Exit;
|
||||
}
|
||||
|
||||
FT_TRACE4(( "glyph index %d (subfont %d):\n", glyph_index, fd_index ));
|
||||
FT_TRACE3(( "glyph index %d (subfont %d):\n", glyph_index, fd_index ));
|
||||
|
||||
sub = cff->subfonts[fd_index];
|
||||
|
||||
|
@ -444,7 +444,7 @@
|
|||
}
|
||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
else
|
||||
FT_TRACE4(( "glyph index %d:\n", glyph_index ));
|
||||
FT_TRACE3(( "glyph index %d:\n", glyph_index ));
|
||||
#endif
|
||||
|
||||
decoder->num_locals = sub->local_subrs_index.count;
|
||||
|
|
|
@ -294,7 +294,7 @@
|
|||
FT_UNUSED( glyph_index );
|
||||
|
||||
|
||||
FT_TRACE5(( "Glyph %ld\n", glyph_index ));
|
||||
FT_TRACE4(( "Glyph %ld\n", glyph_index ));
|
||||
|
||||
/* the following line sets the `error' variable through macros! */
|
||||
if ( FT_STREAM_SEEK( offset ) || FT_FRAME_ENTER( byte_count ) )
|
||||
|
@ -1161,7 +1161,7 @@
|
|||
if ( (FT_Int)n_ins > loader->byte_len )
|
||||
{
|
||||
FT_TRACE1(( "TT_Process_Composite_Glyph: "
|
||||
"too many instructions (%d) for glyph with length (%d)\n",
|
||||
"too many instructions (%d) for glyph with length %d\n",
|
||||
n_ins, loader->byte_len ));
|
||||
return TT_Err_Too_Many_Hints;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue