diff options
author | Leonard Rosenthol <leonardr@pdfsages.com> | 2001-12-06 17:52:40 +0000 |
---|---|---|
committer | Leonard Rosenthol <leonardr@pdfsages.com> | 2001-12-06 17:52:40 +0000 |
commit | 33e59a9cb496066023389c2dd2e88a3780dee867 (patch) | |
tree | 2c11bb39176d502486745514e828276d58630509 | |
parent | 7532426c0b0b6e746076b4faa6752a40e611e9f8 (diff) | |
download | freetype2-33e59a9cb496066023389c2dd2e88a3780dee867.tar.gz |
Exported new routine for getting a path from a name
-rw-r--r-- | include/freetype/ftmac.h | 25 |
1 files changed, 25 insertions, 0 deletions
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 ); + /*************************************************************************/ + /* */ + /* <Function> */ + /* FT_GetFile_From_Mac_Name */ + /* */ + /* <Description> */ + /* Returns an FSSpec for the disk file containing the named font. */ + /* */ + /* <Input> */ + /* fontName :: Mac OS name of the font (eg. Times New Roman Bold) */ + /* */ + /* <Output> */ + /* pathSpec :: FSSpec to the file. For passing to FT_New_Face */ + /* */ + /* face_index :: index of the face For passing to FT_New_Face */ + /* */ + /* <Return> */ + /* FreeType error code. 0 means success. */ + /* */ + /* */ + FT_EXPORT_DEF( FT_Error ) + FT_GetFile_From_Mac_Name( char* fontName, + FSSpec* pathSpec, + FT_Long* face_index ); + /* */ |