@ -83,13 +83,13 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_AutoHinter_Get_Global_Func */
/* FT_AutoHinter_GlobalGetFunc */
/* */
/* <Description> */
/* Retrieves the global hints computed for a given face object the */
/* resulting data is dissociated from the face and will survive a */
/* call to FT_Done_Face(). It must be discarded through the API */
/* FT_AutoHinter_Done_Global_Func (). */
/* FT_AutoHinter_GlobalDoneFunc (). */
/* */
/* <Input> */
/* hinter :: A handle to the source auto-hinter. */
@ -102,7 +102,7 @@ FT_BEGIN_HEADER
/* global_len :: The size in bytes of the global hints. */
/* */
typedef void
( * FT_AutoHinter_Get_Global_Func ) ( FT_AutoHinter hinter ,
( * FT_AutoHinter_GlobalGetFunc ) ( FT_AutoHinter hinter ,
FT_Face face ,
void * * global_hints ,
long * global_len ) ;
@ -111,11 +111,11 @@ FT_BEGIN_HEADER
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_AutoHinter_Done_Global_Func */
/* FT_AutoHinter_GlobalDoneFunc */
/* */
/* <Description> */
/* Discards the global hints retrieved through */
/* FT_AutoHinter_Get_Global_Func (). This is the only way these hints */
/* FT_AutoHinter_GlobalGetFunc (). This is the only way these hints */
/* are freed from memory. */
/* */
/* <Input> */
@ -124,14 +124,14 @@ FT_BEGIN_HEADER
/* global :: A pointer to retrieved global hints to discard. */
/* */
typedef void
( * FT_AutoHinter_Done_Global_Func ) ( FT_AutoHinter hinter ,
( * FT_AutoHinter_GlobalDoneFunc ) ( FT_AutoHinter hinter ,
void * global ) ;
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_AutoHinter_Reset_ Func */
/* FT_AutoHinter_Global ResetFunc */
/* */
/* <Description> */
/* This function is used to recompute the global metrics in a given */
@ -144,14 +144,14 @@ FT_BEGIN_HEADER
/* face :: A handle to the face. */
/* */
typedef void
( * FT_AutoHinter_Reset_ Func ) ( FT_AutoHinter hinter ,
( * FT_AutoHinter_Global ResetFunc ) ( FT_AutoHinter hinter ,
FT_Face face ) ;
/*************************************************************************/
/* */
/* <FuncType> */
/* FT_AutoHinter_Load_ Func */
/* FT_AutoHinter_Glyph LoadFunc */
/* */
/* <Description> */
/* This function is used to load, scale, and automatically hint a */
@ -170,31 +170,29 @@ FT_BEGIN_HEADER
/* FT_LOAD_NO_SCALE set. */
/* */
typedef FT_Error
( * FT_AutoHinter_Load_ Func ) ( FT_AutoHinter hinter ,
FT_GlyphSlot slot ,
FT_Size size ,
FT_UInt glyph_index ,
FT_ULong load_flags ) ;
( * FT_AutoHinter_Glyph LoadFunc ) ( FT_AutoHinter hinter ,
FT_GlyphSlot slot ,
FT_Size size ,
FT_UInt glyph_index ,
FT_ULong load_flags ) ;
/*************************************************************************/
/* */
/* <Struct> */
/* FT_AutoHinter_Interface */
/* FT_AutoHinter_ServiceRec */
/* */
/* <Description> */
/* The auto-hinter module's interface. */
/* */
typedef struct FT_AutoHinter_Interface
typedef struct FT_AutoHinter_ServiceRec_
{
FT_AutoHinter_Reset_Func reset_face ;
FT_AutoHinter_Load_Func load_glyph ;
FT_AutoHinter_Get_Global_Func get_global_hints ;
FT_AutoHinter_Done_Global_Func done_global_hints ;
} FT_AutoHinter_Interface ;
FT_AutoHinter_GlobalResetFunc reset_face ;
FT_AutoHinter_GlobalGetFunc get_global_hints ;
FT_AutoHinter_GlobalDoneFunc done_global_hints ;
FT_AutoHinter_GlyphLoadFunc load_glyph ;
} FT_AutoHinter_ServiceRec , * FT_AutoHinter_Service ;
FT_END_HEADER