Add code to build a `gasp' table.
[ttfautohint.git] / src / taglobal.h
blob49af00177f98d7f6524f7a5351860a4470617b3d
1 /* taglobal.h */
3 /* originally file `afglobal.h' (2011-Mar-28) from FreeType */
5 /* heavily modified 2011 by Werner Lemberg <wl@gnu.org> */
7 #ifndef __TAGLOBAL_H__
8 #define __TAGLOBAL_H__
10 #include "tatypes.h"
13 /* this models the global hints data for a given face, */
14 /* decomposed into script-specific items */
15 typedef struct TA_FaceGlobalsRec_* TA_FaceGlobals;
17 FT_Error
18 ta_face_globals_new(FT_Face face,
19 TA_FaceGlobals *aglobals);
21 FT_Error
22 ta_face_globals_get_metrics(TA_FaceGlobals globals,
23 FT_UInt gindex,
24 FT_UInt options,
25 TA_ScriptMetrics *ametrics);
27 void
28 ta_face_globals_free(TA_FaceGlobals globals);
30 FT_Bool
31 ta_face_globals_is_digit(TA_FaceGlobals globals,
32 FT_UInt gindex);
34 #endif /* __TAGLOBAL_H__ */
36 /* end of taglobal.h */