Mention GPL-only files.
[ttfautohint.git] / src / taglobal.h
blobed327eff999285789b2082b5ff98f30013b73ee1
1 /* taglobal.h */
3 /*
4 * Copyright (C) 2011-2012 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 /* originally file `afglobal.h' (2011-Mar-28) from FreeType */
18 /* heavily modified 2011 by Werner Lemberg <wl@gnu.org> */
20 #ifndef __TAGLOBAL_H__
21 #define __TAGLOBAL_H__
23 #include "tatypes.h"
26 /* this models the global hints data for a given face, */
27 /* decomposed into script-specific items */
28 typedef struct TA_FaceGlobalsRec_* TA_FaceGlobals;
30 FT_Error
31 ta_face_globals_new(FT_Face face,
32 TA_FaceGlobals *aglobals,
33 FT_UInt fallback_script);
35 FT_Error
36 ta_face_globals_get_metrics(TA_FaceGlobals globals,
37 FT_UInt gindex,
38 FT_UInt options,
39 TA_ScriptMetrics *ametrics);
41 void
42 ta_face_globals_free(TA_FaceGlobals globals);
44 FT_Bool
45 ta_face_globals_is_digit(TA_FaceGlobals globals,
46 FT_UInt gindex);
48 #endif /* __TAGLOBAL_H__ */
50 /* end of taglobal.h */