add SDL2_ttf support
[platform/upstream/SDL.git] / extension / SDL2_ttf-2.0.14 / external / freetype-2.4.12 / src / autofit / afmodule.h
1 /***************************************************************************/
2 /*                                                                         */
3 /*  afmodule.h                                                             */
4 /*                                                                         */
5 /*    Auto-fitter module implementation (specification).                   */
6 /*                                                                         */
7 /*  Copyright 2003, 2004, 2005 by                                          */
8 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9 /*                                                                         */
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.                                        */
15 /*                                                                         */
16 /***************************************************************************/
17
18
19 #ifndef __AFMODULE_H__
20 #define __AFMODULE_H__
21
22 #include <ft2build.h>
23 #include FT_INTERNAL_OBJECTS_H
24 #include FT_MODULE_H
25
26 #include "afloader.h"
27
28
29 FT_BEGIN_HEADER
30
31
32   /*
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').
37    */
38
39   typedef struct  AF_ModuleRec_
40   {
41     FT_ModuleRec  root;
42
43     FT_UInt       fallback_script;
44
45     AF_LoaderRec  loader[1];
46
47   } AF_ModuleRec;
48
49
50 FT_DECLARE_MODULE(autofit_module_class)
51
52
53 FT_END_HEADER
54
55 #endif /* __AFMODULE_H__ */
56
57
58 /* END */