43 #ifndef AGS_LIB_FREETYPE_AHHINT_H 44 #define AGS_LIB_FREETYPE_AHHINT_H 48 #include "ags/lib/freetype-2.1.3/autohint/ahglobal.h" 51 namespace FreeType213 {
54 #define AH_HINT_DEFAULT 0 55 #define AH_HINT_NO_ALIGNMENT 1 56 #define AH_HINT_NO_HORZ_EDGES 0x200000L 57 #define AH_HINT_NO_VERT_EDGES 0x400000L 60 FT_Error ah_hinter_new(FT_Memory memory, AH_Hinter *ahinter);
63 FT_Error ah_hinter_load_glyph(AH_Hinter hinter, FT_GlyphSlot slot, FT_Size size, FT_UInt glyph_index, FT_Int32 load_flags);
66 void ah_hinter_done(AH_Hinter hinter);
68 void ah_hinter_done_face_globals(AH_Face_Globals globals);
70 void ah_hinter_get_global_hints(AH_Hinter hinter, FT_Face face,
void **global_hints,
long *global_len);
72 void ah_hinter_done_global_hints(AH_Hinter hinter,
void *global_hints);