1 /***************************************************************************/
5 /* Auto-fitter routines to compute global hinting values */
8 /* Copyright 2003, 2004, 2005, 2007, 2009 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */
17 /***************************************************************************/
20 #ifndef __AF_GLOBAL_H__
21 #define __AF_GLOBAL_H__
30 /************************************************************************/
31 /************************************************************************/
33 /***** F A C E G L O B A L S *****/
35 /************************************************************************/
36 /************************************************************************/
40 * model the global hints data for a given face, decomposed into
41 * script-specific items
43 typedef struct AF_FaceGlobalsRec_
* AF_FaceGlobals
;
47 af_face_globals_new( FT_Face face
,
48 AF_FaceGlobals
*aglobals
);
51 af_face_globals_get_metrics( AF_FaceGlobals globals
,
54 AF_ScriptMetrics
*ametrics
);
57 af_face_globals_free( AF_FaceGlobals globals
);
59 FT_LOCAL_DEF( FT_Bool
)
60 af_face_globals_is_digit( AF_FaceGlobals globals
,
68 #endif /* __AF_GLOBALS_H__ */