30#error "freetype.h of FreeType 1 has been loaded!"
31#error "Please fix the directory search order for header files"
32#error "so that freetype.h of FreeType 2 is found first."
116#define FT_MODULE_FONT_DRIVER 1
117#define FT_MODULE_RENDERER 2
118#define FT_MODULE_HINTER 4
119#define FT_MODULE_STYLER 8
121#define FT_MODULE_DRIVER_SCALABLE 0x100
123#define FT_MODULE_DRIVER_NO_OUTLINES 0x200
125#define FT_MODULE_DRIVER_HAS_HINTER 0x400
127#define FT_MODULE_DRIVER_HINTS_LIGHTLY 0x800
132#define ft_module_font_driver FT_MODULE_FONT_DRIVER
133#define ft_module_renderer FT_MODULE_RENDERER
134#define ft_module_hinter FT_MODULE_HINTER
135#define ft_module_styler FT_MODULE_STYLER
137#define ft_module_driver_scalable FT_MODULE_DRIVER_SCALABLE
138#define ft_module_driver_no_outlines FT_MODULE_DRIVER_NO_OUTLINES
139#define ft_module_driver_has_hinter FT_MODULE_DRIVER_HAS_HINTER
140#define ft_module_driver_hints_lightly FT_MODULE_DRIVER_HINTS_LIGHTLY
143 typedef FT_Pointer FT_Module_Interface;
159 (*FT_Module_Constructor)( FT_Module module );
175 (*FT_Module_Destructor)( FT_Module module );
193 typedef FT_Module_Interface
194 (*FT_Module_Requester)( FT_Module module,
241 FT_ULong module_flags;
243 const FT_String* module_name;
244 FT_Fixed module_version;
245 FT_Fixed module_requires;
247 const void* module_interface;
249 FT_Module_Constructor module_init;
250 FT_Module_Destructor module_done;
251 FT_Module_Requester get_interface;
279 FT_EXPORT( FT_Error )
280 FT_Add_Module( FT_Library library,
281 const FT_Module_Class* clazz );
306 FT_EXPORT( FT_Module )
307 FT_Get_Module( FT_Library library,
308 const char* module_name );
333 FT_EXPORT( FT_Error )
334 FT_Remove_Module( FT_Library library,
354#define FT_FACE_DRIVER_NAME( face ) \
355 ( ( *FT_REINTERPRET_CAST( FT_Module_Class**, \
356 ( face )->driver ) )->module_name )
416 FT_EXPORT( FT_Error )
417 FT_Property_Set( FT_Library library,
418 const FT_String* module_name,
419 const FT_String* property_name,
479 FT_EXPORT( FT_Error )
480 FT_Property_Get( FT_Library library,
481 const FT_String* module_name,
482 const FT_String* property_name,
527 FT_Set_Default_Properties( FT_Library library );
554 FT_EXPORT( FT_Error )
555 FT_Reference_Library( FT_Library library );
593 FT_EXPORT( FT_Error )
594 FT_New_Library( FT_Memory memory,
595 FT_Library *alibrary );
618 FT_EXPORT( FT_Error )
619 FT_Done_Library( FT_Library library );
653 (*FT_DebugHook_Func)(
void* arg );
668#define FT_DEBUG_HOOK_TRUETYPE 0
703 FT_Set_Debug_Hook( FT_Library library,
705 FT_DebugHook_Func debug_hook );
723 FT_Add_Default_Modules( FT_Library library );
771 typedef enum FT_TrueTypeEngineType_
773 FT_TRUETYPE_ENGINE_TYPE_NONE = 0,
774 FT_TRUETYPE_ENGINE_TYPE_UNPATENTED,
775 FT_TRUETYPE_ENGINE_TYPE_PATENTED
777 } FT_TrueTypeEngineType;
800 FT_EXPORT( FT_TrueTypeEngineType )
801 FT_Get_TrueType_Engine_Type( FT_Library library );