| Index: third_party/freetype/include/ftmodapi.h
|
| diff --git a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftmodapi.h b/third_party/freetype/include/ftmodapi.h
|
| similarity index 93%
|
| rename from core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftmodapi.h
|
| rename to third_party/freetype/include/ftmodapi.h
|
| index f12c0a933fc09553e3158ea64b7964275f9641e2..980f15d3de048276e05cc8c448fb576663bf4224 100644
|
| --- a/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ftmodapi.h
|
| +++ b/third_party/freetype/include/ftmodapi.h
|
| @@ -20,8 +20,8 @@
|
| #define __FTMODAPI_H__
|
|
|
|
|
| -#include "../ft2build.h"
|
| -#include "freetype.h"
|
| +#include <ft2build.h>
|
| +#include FT_FREETYPE_H
|
|
|
| #ifdef FREETYPE_H
|
| #error "freetype.h of FreeType 1 has been loaded!"
|
| @@ -75,6 +75,33 @@ FT_BEGIN_HEADER
|
| /* */
|
| /* Note that the FreeType Cache sub-system is not a FreeType module. */
|
| /* */
|
| + /* <Order> */
|
| + /* FT_Module */
|
| + /* FT_Module_Constructor */
|
| + /* FT_Module_Destructor */
|
| + /* FT_Module_Requester */
|
| + /* FT_Module_Class */
|
| + /* */
|
| + /* FT_Add_Module */
|
| + /* FT_Get_Module */
|
| + /* FT_Remove_Module */
|
| + /* FT_Add_Default_Modules */
|
| + /* */
|
| + /* FT_Property_Set */
|
| + /* FT_Property_Get */
|
| + /* */
|
| + /* FT_New_Library */
|
| + /* FT_Done_Library */
|
| + /* FT_Reference_Library */
|
| + /* */
|
| + /* FT_Renderer */
|
| + /* FT_Renderer_Class */
|
| + /* */
|
| + /* FT_Get_Renderer */
|
| + /* FT_Set_Renderer */
|
| + /* */
|
| + /* FT_Set_Debug_Hook */
|
| + /* */
|
| /*************************************************************************/
|
|
|
|
|
| @@ -298,7 +325,7 @@ FT_BEGIN_HEADER
|
| * Note that only a few modules have properties.
|
| *
|
| * value ::
|
| - * A generic pointer to a variable or structure which gives the new
|
| + * A generic pointer to a variable or structure that gives the new
|
| * value of the property. The exact definition of `value' is
|
| * dependent on the property; see the `Synopsis' subsection of the
|
| * module's documentation.
|
| @@ -364,7 +391,7 @@ FT_BEGIN_HEADER
|
| *
|
| * @inout:
|
| * value ::
|
| - * A generic pointer to a variable or structure which gives the
|
| + * A generic pointer to a variable or structure that gives the
|
| * value of the property. The exact definition of `value' is
|
| * dependent on the property; see the `Synopsis' subsection of the
|
| * module's documentation.
|
| @@ -418,7 +445,7 @@ FT_BEGIN_HEADER
|
| /* @FT_Done_Library then only destroys a library if the counter is~1, */
|
| /* otherwise it simply decrements the counter. */
|
| /* */
|
| - /* This function helps in managing life-cycles of structures which */
|
| + /* This function helps in managing life-cycles of structures that */
|
| /* reference @FT_Library objects. */
|
| /* */
|
| /* <Input> */
|
| @@ -491,7 +518,7 @@ FT_BEGIN_HEADER
|
| FT_EXPORT( FT_Error )
|
| FT_Done_Library( FT_Library library );
|
|
|
| -/* */
|
| + /* */
|
|
|
| typedef void
|
| (*FT_DebugHook_Func)( void* arg );
|
| @@ -584,7 +611,7 @@ FT_BEGIN_HEADER
|
| * The library implements a bytecode interpreter that doesn't
|
| * support the patented operations of the TrueType virtual machine.
|
| *
|
| - * Its main use is to load certain Asian fonts which position and
|
| + * Its main use is to load certain Asian fonts that position and
|
| * scale glyph components with bytecode instructions. It produces
|
| * bad output for most other fonts.
|
| *
|
| @@ -629,7 +656,6 @@ FT_BEGIN_HEADER
|
| FT_EXPORT( FT_TrueTypeEngineType )
|
| FT_Get_TrueType_Engine_Type( FT_Library library );
|
|
|
| -
|
| /* */
|
|
|
|
|
|
|