diff --git a/include/freetype/ftmac.h b/include/freetype/ftmac.h index 6a1b4c8b6..77434485b 100644 --- a/include/freetype/ftmac.h +++ b/include/freetype/ftmac.h @@ -92,6 +92,31 @@ FT_BEGIN_HEADER FT_Face *aface ); + /*************************************************************************/ + /* */ + /* */ + /* FT_GetFile_From_Mac_Name */ + /* */ + /* */ + /* Returns an FSSpec for the disk file containing the named font. */ + /* */ + /* */ + /* fontName :: Mac OS name of the font (eg. Times New Roman Bold) */ + /* */ + /* */ + /* pathSpec :: FSSpec to the file. For passing to FT_New_Face */ + /* */ + /* face_index :: index of the face For passing to FT_New_Face */ + /* */ + /* */ + /* FreeType error code. 0 means success. */ + /* */ + /* */ + FT_EXPORT_DEF( FT_Error ) + FT_GetFile_From_Mac_Name( char* fontName, + FSSpec* pathSpec, + FT_Long* face_index ); + /* */