forked from minhngoc25a/freetype2
Changes to support incremental Type 42 fonts: assume a font has glyphs if it
has an incremental interface object.
This commit is contained in:
parent
3849f2388a
commit
e975b6fd90
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue