Thinkos.
This commit is contained in:
parent
dbe5622335
commit
fe6da50d04
|
@ -212,8 +212,12 @@
|
|||
|
||||
/* `glyph_names' is set to 0 for CID fonts which do not */
|
||||
/* include an encoding. How can we deal with these? */
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
if ( decoder->glyph_names == 0 &&
|
||||
!face->root.internal->incremental_interface )
|
||||
#else
|
||||
if ( decoder->glyph_names == 0 )
|
||||
#endif /* FT_CONFIG_OPTION_INCREMENTAL */
|
||||
{
|
||||
FT_ERROR(( "t1operator_seac:"
|
||||
" glyph names table not available in this font\n" ));
|
||||
|
|
|
@ -1278,9 +1278,13 @@
|
|||
|
||||
if ( loader->byte_len > 0 )
|
||||
{
|
||||
#ifdef FT_CONFIG_OPTION_INCREMENTAL
|
||||
/* for the incremental interface, `glyf_offset' is always zero */
|
||||
if ( !loader->glyf_offset &&
|
||||
!face->root.internal->incremental_interface )
|
||||
#else
|
||||
if ( !loader->glyf_offset )
|
||||
#endif /* FT_CONFIG_OPTION_INCREMENTAL */
|
||||
{
|
||||
FT_TRACE2(( "no `glyf' table but non-zero `loca' entry\n" ));
|
||||
error = TT_Err_Invalid_Table;
|
||||
|
|
Loading…
Reference in New Issue