]>
Commit | Line | Data |
---|---|---|
cabec872 RR |
1 | /***************************************************************************/ |
2 | /* */ | |
3 | /* ahglobal.h */ | |
4 | /* */ | |
5 | /* Routines used to compute global metrics automatically */ | |
6 | /* (specification). */ | |
7 | /* */ | |
8 | /* Copyright 2000 Catharon Productions Inc. */ | |
9 | /* Author: David Turner */ | |
10 | /* */ | |
11 | /* This file is part of the Catharon Typography Project and shall only */ | |
12 | /* be used, modified, and distributed under the terms of the Catharon */ | |
13 | /* Open Source License that should come with this file under the name */ | |
14 | /* `CatharonLicense.txt'. By continuing to use, modify, or distribute */ | |
15 | /* this file you indicate that you have read the license and */ | |
16 | /* understand and accept it fully. */ | |
17 | /* */ | |
18 | /* Note that this license is compatible with the FreeType license. */ | |
19 | /* */ | |
20 | /***************************************************************************/ | |
21 | ||
22 | ||
23 | #ifndef AHGLOBAL_H | |
24 | #define AHGLOBAL_H | |
25 | ||
26 | #ifdef FT_FLAT_COMPILE | |
27 | ||
28 | #include "ahtypes.h" | |
29 | ||
30 | #else | |
31 | ||
32 | #include <autohint/ahtypes.h> | |
33 | ||
34 | #endif | |
35 | ||
36 | ||
37 | #include <freetype/internal/ftobjs.h> /* for LOCAL_DEF/LOCAL_FUNC */ | |
38 | ||
39 | ||
40 | #define AH_IS_TOP_BLUE( b ) ( (b) == ah_blue_capital_top || \ | |
41 | (b) == ah_blue_small_top ) | |
42 | ||
43 | ||
44 | /* compute global metrics automatically */ | |
45 | LOCAL_DEF | |
46 | FT_Error ah_hinter_compute_globals( AH_Hinter* hinter ); | |
47 | ||
48 | ||
49 | #endif /* AHGLOBAL_H */ | |
50 | ||
51 | ||
52 | /* END */ |