• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /***************************************************************************/
2 /*                                                                         */
3 /*  afmodule.h                                                             */
4 /*                                                                         */
5 /*    Auto-fitter module implementation (specification).                   */
6 /*                                                                         */
7 /*  Copyright 2003-2015 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 
27 FT_BEGIN_HEADER
28 
29 
30   /*
31    *  This is the `extended' FT_Module structure that holds the
32    *  autofitter's global data.
33    */
34 
35   typedef struct  AF_ModuleRec_
36   {
37     FT_ModuleRec  root;
38 
39     FT_UInt       fallback_style;
40     FT_UInt       default_script;
41 #ifdef AF_CONFIG_OPTION_USE_WARPER
42     FT_Bool       warping;
43 #endif
44 
45   } AF_ModuleRec, *AF_Module;
46 
47 
48 FT_DECLARE_MODULE( autofit_module_class )
49 
50 
51 FT_END_HEADER
52 
53 #endif /* __AFMODULE_H__ */
54 
55 
56 /* END */
57