]> git.saurik.com Git - wxWidgets.git/blob - src/freetype/autohint/ahhint.h
OS/2 updates for statusbar processing
[wxWidgets.git] / src / freetype / autohint / ahhint.h
1 /***************************************************************************/
2 /* */
3 /* ahhint.h */
4 /* */
5 /* Glyph hinter (declaration). */
6 /* */
7 /* Copyright 2000 Catharon Productions Inc. */
8 /* Author: David Turner */
9 /* */
10 /* This file is part of the Catharon Typography Project and shall only */
11 /* be used, modified, and distributed under the terms of the Catharon */
12 /* Open Source License that should come with this file under the name */
13 /* `CatharonLicense.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. */
16 /* */
17 /* Note that this license is compatible with the FreeType license. */
18 /* */
19 /***************************************************************************/
20
21
22 #ifndef AHHINT_H
23 #define AHHINT_H
24
25
26 #ifdef FT_FLAT_COMPILE
27
28 #include "ahglobal.h"
29
30 #else
31
32 #include <autohint/ahglobal.h>
33
34 #endif
35
36
37 #define AH_HINT_DEFAULT 0
38 #define AH_HINT_NO_ALIGNMENT 1
39 #define AH_HINT_NO_HORZ_EDGES 0x20000L
40 #define AH_HINT_NO_VERT_EDGES 0x40000L
41
42
43 /* create a new empty hinter object */
44 FT_Error ah_hinter_new( FT_Library library,
45 AH_Hinter** ahinter );
46
47 /* Load a hinted glyph in the hinter */
48 FT_Error ah_hinter_load_glyph( AH_Hinter* hinter,
49 FT_GlyphSlot slot,
50 FT_Size size,
51 FT_UInt glyph_index,
52 FT_Int load_flags );
53
54 /* finalize a hinter object */
55 void ah_hinter_done( AH_Hinter* hinter );
56
57 LOCAL_DEF
58 void ah_hinter_done_face_globals( AH_Face_Globals* globals );
59
60 void ah_hinter_get_global_hints( AH_Hinter* hinter,
61 FT_Face face,
62 void** global_hints,
63 long* global_len );
64
65 void ah_hinter_done_global_hints( AH_Hinter* hinter,
66 void* global_hints );
67
68
69 #endif /* AHHINT_H */
70
71
72 /* END */