*/*: Use hex numbers for errors in tracing messages.
This commit is contained in:
parent
e9a154e700
commit
24be60b5f1
@ -1,3 +1,7 @@
|
||||
2016-12-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
*/*: Use hex numbers for errors in tracing messages.
|
||||
|
||||
2016-12-31 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Check axis count in HVAR table.
|
||||
|
@ -462,7 +462,8 @@
|
||||
|
||||
|
||||
Exit:
|
||||
FT_TRACE4(( "FT_New_GlyphSlot: Return %d\n", error ));
|
||||
FT_TRACE4(( "FT_New_GlyphSlot: Return 0x%x\n", error ));
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
@ -2031,13 +2032,15 @@
|
||||
{
|
||||
FT_TRACE3(( "Skip rule %d: darwin vfs resource fork"
|
||||
" is already checked and"
|
||||
" no font is found\n", i ));
|
||||
" no font is found\n",
|
||||
i ));
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( errors[i] )
|
||||
{
|
||||
FT_TRACE3(( "Error[%d] has occurred in rule %d\n", errors[i], i ));
|
||||
FT_TRACE3(( "Error 0x%x has occurred in rule %d\n",
|
||||
errors[i], i ));
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -2448,7 +2451,7 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
FT_TRACE4(( "FT_Open_Face: Return %d\n", error ));
|
||||
FT_TRACE4(( "FT_Open_Face: Return 0x%x\n", error ));
|
||||
|
||||
return error;
|
||||
}
|
||||
|
@ -287,7 +287,7 @@
|
||||
return FT_Err_Ok;
|
||||
|
||||
Exit:
|
||||
FT_TRACE5(( "FT_Outline_Decompose: Error %d\n", error ));
|
||||
FT_TRACE5(( "FT_Outline_Decompose: Error 0x%x\n", error ));
|
||||
return error;
|
||||
|
||||
Invalid_Outline:
|
||||
|
@ -1613,7 +1613,7 @@ typedef ptrdiff_t FT_PtrDist;
|
||||
return 0;
|
||||
|
||||
Exit:
|
||||
FT_TRACE5(( "FT_Outline_Decompose: Error %d\n", error ));
|
||||
FT_TRACE5(( "FT_Outline_Decompose: Error 0x%x\n", error ));
|
||||
return error;
|
||||
|
||||
Invalid_Outline:
|
||||
|
@ -561,7 +561,7 @@
|
||||
error = fnt_font_load( face->font, stream );
|
||||
if ( error )
|
||||
{
|
||||
FT_TRACE2(( "font #%lu load error %d\n",
|
||||
FT_TRACE2(( "font #%lu load error 0x%x\n",
|
||||
dir_entry2.name, error ));
|
||||
goto Fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user