1 /***************************************************************************/
5 /* Auto-fitter module implementation (specification). */
7 /* Copyright 2003-2005, 2009, 2012, 2013 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
19 #ifndef __AFMODULE_H__
20 #define __AFMODULE_H__
23 #include FT_INTERNAL_OBJECTS_H
33 * This is the `extended' FT_Module structure which holds the
34 * autofitter's global data. Right before hinting a glyph, the data
35 * specific to the glyph's face (blue zones, stem widths, etc.) are
36 * loaded into `loader' (see function `af_loader_reset').
39 typedef struct AF_ModuleRec_
43 FT_UInt fallback_style
;
44 FT_UInt default_script
;
46 AF_LoaderRec loader
[1];
51 FT_DECLARE_MODULE(autofit_module_class
)
56 #endif /* __AFMODULE_H__ */