diff --git a/src/freetype/freetype.h b/src/freetype/freetype.h index f7104b0ee..317e0bdbe 100644 --- a/src/freetype/freetype.h +++ b/src/freetype/freetype.h @@ -4153,93 +4153,6 @@ FT_BEGIN_HEADER #define FREETYPE_MINOR 9 #define FREETYPE_PATCH 1 - - /*************************************************************************/ - /* */ - /* */ - /* FT_Library_Version */ - /* */ - /* */ - /* Return the version of the FreeType library being used. This is */ - /* useful when dynamically linking to the library, since one cannot */ - /* use the macros @FREETYPE_MAJOR, @FREETYPE_MINOR, and */ - /* @FREETYPE_PATCH. */ - /* */ - /* */ - /* library :: A source library handle. */ - /* */ - /* */ - /* amajor :: The major version number. */ - /* */ - /* aminor :: The minor version number. */ - /* */ - /* apatch :: The patch version number. */ - /* */ - /* */ - /* The reason why this function takes a `library' argument is because */ - /* certain programs implement library initialization in a custom way */ - /* that doesn't use @FT_Init_FreeType. */ - /* */ - /* In such cases, the library version might not be available before */ - /* the library object has been created. */ - /* */ - FT_EXPORT( void ) - FT_Library_Version( FT_Library library, - FT_Int *amajor, - FT_Int *aminor, - FT_Int *apatch ); - - - /*************************************************************************/ - /* */ - /* */ - /* FT_Face_CheckTrueTypePatents */ - /* */ - /* */ - /* Deprecated, does nothing. */ - /* */ - /* */ - /* face :: A face handle. */ - /* */ - /* */ - /* Always returns false. */ - /* */ - /* */ - /* Since May 2010, TrueType hinting is no longer patented. */ - /* */ - /* */ - /* 2.3.5 */ - /* */ - FT_EXPORT( FT_Bool ) - FT_Face_CheckTrueTypePatents( FT_Face face ); - - - /*************************************************************************/ - /* */ - /* */ - /* FT_Face_SetUnpatentedHinting */ - /* */ - /* */ - /* Deprecated, does nothing. */ - /* */ - /* */ - /* face :: A face handle. */ - /* */ - /* value :: New boolean setting. */ - /* */ - /* */ - /* Always returns false. */ - /* */ - /* */ - /* Since May 2010, TrueType hinting is no longer patented. */ - /* */ - /* */ - /* 2.3.5 */ - /* */ - FT_EXPORT( FT_Bool ) - FT_Face_SetUnpatentedHinting( FT_Face face, - FT_Bool value ); - /* */ diff --git a/src/freetype/ftobjs.c b/src/freetype/ftobjs.c index 6155d5b35..aded60b17 100644 --- a/src/freetype/ftobjs.c +++ b/src/freetype/ftobjs.c @@ -3940,37 +3940,6 @@ } - /* documentation is in freetype.h */ - - FT_EXPORT_DEF( void ) - FT_Library_Version( FT_Library library, - FT_Int *amajor, - FT_Int *aminor, - FT_Int *apatch ) - { - FT_Int major = 0; - FT_Int minor = 0; - FT_Int patch = 0; - - - if ( library ) - { - major = library->version_major; - minor = library->version_minor; - patch = library->version_patch; - } - - if ( amajor ) - *amajor = major; - - if ( aminor ) - *aminor = minor; - - if ( apatch ) - *apatch = patch; - } - - /* documentation is in ftmodapi.h */ FT_EXPORT_DEF( FT_Error )