|
|
|
@ -35,6 +35,16 @@ |
|
|
|
|
FT_BEGIN_HEADER |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* gcc-3.4.1 and later can warn the functions attributed as deprecated */ |
|
|
|
|
#ifndef FT_DEPRECATED_ATTRIBUTE |
|
|
|
|
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1))) |
|
|
|
|
#define FT_DEPRECATED_ATTRIBUTE __attribute__((deprecated)) |
|
|
|
|
#else |
|
|
|
|
#define FT_DEPRECATED_ATTRIBUTE |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
|
/* */ |
|
|
|
|
/* <Section> */ |
|
|
|
@ -117,7 +127,8 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FT_GetFile_From_Mac_Name( const char* fontName, |
|
|
|
|
FSSpec* pathSpec, |
|
|
|
|
FT_Long* face_index ); |
|
|
|
|
FT_Long* face_index ) |
|
|
|
|
FT_DEPRECATED_ATTRIBUTE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -144,7 +155,8 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_EXPORT( FT_Error ) |
|
|
|
|
FT_GetFile_From_Mac_ATS_Name( const char* fontName, |
|
|
|
|
FSSpec* pathSpec, |
|
|
|
|
FT_Long* face_index ); |
|
|
|
|
FT_Long* face_index ) |
|
|
|
|
FT_DEPRECATED_ATTRIBUTE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -209,7 +221,8 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_New_Face_From_FSSpec( FT_Library library, |
|
|
|
|
const FSSpec *spec, |
|
|
|
|
FT_Long face_index, |
|
|
|
|
FT_Face *aface ); |
|
|
|
|
FT_Face *aface ) |
|
|
|
|
FT_DEPRECATED_ATTRIBUTE; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*************************************************************************/ |
|
|
|
@ -243,7 +256,8 @@ FT_BEGIN_HEADER |
|
|
|
|
FT_New_Face_From_FSRef( FT_Library library, |
|
|
|
|
const FSRef *ref, |
|
|
|
|
FT_Long face_index, |
|
|
|
|
FT_Face *aface ); |
|
|
|
|
FT_Face *aface ) |
|
|
|
|
FT_DEPRECATED_ATTRIBUTE; |
|
|
|
|
|
|
|
|
|
/* */ |
|
|
|
|
|
|
|
|
|