update for HEAD-2003050101
[reactos.git] / lib / freetype / src / autohint / ahglobal.h
1 /***************************************************************************/
2 /*                                                                         */
3 /*  ahglobal.h                                                             */
4 /*                                                                         */
5 /*    Routines used to compute global metrics automatically                */
6 /*    (specification).                                                     */
7 /*                                                                         */
8 /*  Copyright 2000-2001, 2002 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
27 #include <ft2build.h>
28 #include "ahtypes.h"
29 #include FT_INTERNAL_OBJECTS_H
30
31
32 FT_BEGIN_HEADER
33
34
35 #ifdef  FT_CONFIG_CHESTER_SMALL_F
36
37 #  define AH_IS_TOP_BLUE( b )  ( (b) == AH_BLUE_CAPITAL_TOP || \
38                                  (b) == AH_BLUE_SMALL_F_TOP || \
39                                  (b) == AH_BLUE_SMALL_TOP   )
40
41 #else /* !CHESTER_SMALL_F */
42
43 #  define AH_IS_TOP_BLUE( b )  ( (b) == AH_BLUE_CAPITAL_TOP || \
44                                  (b) == AH_BLUE_SMALL_TOP   )
45
46 #endif /* !CHESTER_SMALL_F */
47
48
49   /* compute global metrics automatically */
50   FT_LOCAL( FT_Error )
51   ah_hinter_compute_globals( AH_Hinter  hinter );
52
53
54 FT_END_HEADER
55
56 #endif /* __AHGLOBAL_H__ */
57
58
59 /* END */