| Index: src/sfnt/sfobjs.c
|
| diff --git a/src/sfnt/sfobjs.c b/src/sfnt/sfobjs.c
|
| index 44471f6b67524e3648a0150589dcd1609c328613..d7be631afbc2b4486886da73827dc46e5aaae257 100644
|
| --- a/src/sfnt/sfobjs.c
|
| +++ b/src/sfnt/sfobjs.c
|
| @@ -376,7 +376,10 @@
|
| tag != TTAG_true &&
|
| tag != TTAG_typ1 &&
|
| tag != 0x00020000UL )
|
| + {
|
| + FT_TRACE2(( " not a font using the SFNT container format\n" ));
|
| return SFNT_Err_Unknown_File_Format;
|
| + }
|
|
|
| face->ttc_header.tag = TTAG_ttcf;
|
|
|
| @@ -452,7 +455,10 @@
|
| {
|
| sfnt = (SFNT_Service)FT_Get_Module_Interface( library, "sfnt" );
|
| if ( !sfnt )
|
| - return SFNT_Err_Invalid_File_Format;
|
| + {
|
| + FT_ERROR(( "sfnt_init_face: cannot access `sfnt' module\n" ));
|
| + return SFNT_Err_Missing_Module;
|
| + }
|
|
|
| face->sfnt = sfnt;
|
| face->goto_table = sfnt->goto_table;
|
| @@ -460,6 +466,8 @@
|
|
|
| FT_FACE_FIND_GLOBAL_SERVICE( face, face->psnames, POSTSCRIPT_CMAPS );
|
|
|
| + FT_TRACE2(( "SFNT driver\n" ));
|
| +
|
| error = sfnt_open_font( stream, face );
|
| if ( error )
|
| return error;
|
|
|