[main] Recognize Apple SFNTs
This commit is contained in:
parent
710500a93e
commit
ce5694c796
|
@ -193,8 +193,8 @@ struct OpenTypeFontFile
|
|||
static const hb_tag_t CFFTag = HB_TAG ('O','T','T','O'); /* OpenType with Postscript outlines */
|
||||
static const hb_tag_t TrueTypeTag = HB_TAG ( 0 , 1 , 0 , 0 ); /* OpenType with TrueType outlines */
|
||||
static const hb_tag_t TTCTag = HB_TAG ('t','t','c','f'); /* TrueType Collection */
|
||||
static const hb_tag_t TrueTag = HB_TAG ('t','r','u','e'); /* Apple obsolete tag */
|
||||
static const hb_tag_t Typ1Tag = HB_TAG ('t','y','p','1'); /* Apple obsolete tag */
|
||||
static const hb_tag_t TrueTag = HB_TAG ('t','r','u','e'); /* Obsolete Apple TrueType */
|
||||
static const hb_tag_t Typ1Tag = HB_TAG ('t','y','p','1'); /* Obsolete Apple Type1 font in SFNT container */
|
||||
|
||||
inline hb_tag_t get_tag (void) const { return u.tag; }
|
||||
|
||||
|
|
|
@ -73,6 +73,12 @@ main (int argc, char **argv)
|
|||
case OpenTypeFontFile::TTCTag:
|
||||
printf ("TrueType Collection of OpenType fonts\n");
|
||||
break;
|
||||
case OpenTypeFontFile::TrueTag:
|
||||
printf ("Obsolete Apple TrueType font\n");
|
||||
break;
|
||||
case OpenTypeFontFile::Typ1Tag:
|
||||
printf ("Obsolete Apple Type1 font in SFNT container\n");
|
||||
break;
|
||||
default:
|
||||
printf ("Unknown font format\n");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue