@ -154,7 +154,7 @@
}
FT_CALLBACK_DEF ( FT_Error )
FT_CALLBACK_DEF ( void )
cid_parse_font_matrix ( CID_Face face ,
CID_Parser * parser )
{
@ -179,7 +179,10 @@
result = cid_parser_to_fixed_array ( parser , 6 , temp , 3 ) ;
if ( result < 6 )
return FT_THROW ( Invalid_File_Format ) ;
{
FT_ERROR ( ( " cid_parse_font_matrix: not enough matrix elements \n " ) ) ;
goto Exit ;
}
FT_TRACE4 ( ( " [%f %f %f %f %f %f] \n " ,
( double ) temp [ 0 ] / 65536 / 1000 ,
@ -194,7 +197,7 @@
if ( temp_scale = = 0 )
{
FT_ERROR ( ( " cid_parse_font_matrix: invalid font matrix \n " ) ) ;
return FT_THROW ( Invalid_File_Format ) ;
goto Exit ;
}
/* atypical case */
@ -220,7 +223,7 @@
{
FT_ERROR ( ( " t1_parse_font_matrix: invalid font matrix \n " ) ) ;
parser - > root . error = FT_THROW ( Invalid_File_Format ) ;
return FT_THROW ( Invalid_File_Format ) ;
goto Exit ;
}
/* note that the font offsets are expressed in integer font units */
@ -228,11 +231,12 @@
offset - > y = temp [ 5 ] > > 16 ;
}
return FT_Err_Ok ;
Exit :
return ;
}
FT_CALLBACK_DEF ( FT_Error )
FT_CALLBACK_DEF ( void )
parse_fd_array ( CID_Face face ,
CID_Parser * parser )
{
@ -247,7 +251,6 @@
if ( num_dicts < 0 )
{
FT_ERROR ( ( " parse_fd_array: invalid number of dictionaries \n " ) ) ;
error = FT_THROW ( Invalid_File_Format ) ;
goto Exit ;
}
@ -304,7 +307,7 @@
}
Exit :
return error ;
return ;
}
@ -312,7 +315,7 @@
/* and CID_FaceDictRec (both are public header files and can't */
/* changed). We simply copy the value. */
FT_CALLBACK_DEF ( FT_Error )
FT_CALLBACK_DEF ( void )
parse_expansion_factor ( CID_Face face ,
CID_Parser * parser )
{
@ -329,7 +332,7 @@
FT_TRACE4 ( ( " %d \n " , dict - > expansion_factor ) ) ;
}
return FT_Err_Ok ;
return ;
}
@ -337,7 +340,7 @@
/* `FontName' keyword. FreeType doesn't need it, but it is nice */
/* to catch it for producing better trace output. */
FT_CALLBACK_DEF ( FT_Error )
FT_CALLBACK_DEF ( void )
parse_font_name ( CID_Face face ,
CID_Parser * parser )
{
@ -361,7 +364,7 @@
FT_UNUSED ( parser ) ;
# endif
return FT_Err_Ok ;
return ;
}