Changes to support incremental Type 42 fonts: assume a font has glyphs if it

has an incremental interface object.
This commit is contained in:
Graham Asher 2002-07-18 16:38:07 +00:00
parent 3849f2388a
commit e975b6fd90
1 changed files with 9 additions and 2 deletions

View File

@ -432,8 +432,15 @@
/* */
/* do we have outlines in there? */
has_outline = FT_BOOL( ( TT_LookUp_Table( face, TTAG_glyf ) != 0 ) ||
( TT_LookUp_Table( face, TTAG_CFF ) != 0 ) );
#ifdef FT_CONFIG_OPTION_INCREMENTAL
has_outline = FT_BOOL( face->root.incremental_interface != 0 ||
TT_LookUp_Table( face, TTAG_glyf ) != 0 ||
TT_LookUp_Table( face, TTAG_CFF ) != 0 );
#else
has_outline = FT_BOOL( TT_LookUp_Table( face, TTAG_glyf ) != 0 ||
TT_LookUp_Table( face, TTAG_CFF ) != 0 );
#endif
is_apple_sbit = 0;
#ifdef TT_CONFIG_OPTION_EMBEDDED_BITMAPS