376 |
if ( error ) |
if ( error ) |
377 |
goto Exit; |
goto Exit; |
378 |
|
|
379 |
|
if ( sfnt_header.format_tag != 0x00010000UL && |
380 |
|
sfnt_header.format_tag != TTAG_ttcf && |
381 |
|
sfnt_header.format_tag != FT_MAKE_TAG( 'O', 'T', 'T', 'O' ) && |
382 |
|
sfnt_header.format_tag != TTAG_true && |
383 |
|
sfnt_header.format_tag != 0x00020000UL ) |
384 |
|
return SFNT_Err_Unknown_File_Format; |
385 |
|
|
386 |
face->format_tag = sfnt_header.format_tag; |
face->format_tag = sfnt_header.format_tag; |
387 |
face->num_tables = sfnt_header.num_tables; |
face->num_tables = sfnt_header.num_tables; |
388 |
|
|