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 #define AH_IS_TOP_BLUE( b ) ( (b) == AH_BLUE_CAPITAL_TOP || \ 36 (b) == AH_BLUE_SMALL_TOP ) 37 38 39 /* compute global metrics automatically */ 40 FT_LOCAL( FT_Error ) 41 ah_hinter_compute_globals( AH_Hinter hinter ); 42 43 44 FT_END_HEADER 45 46 #endif /* __AHGLOBAL_H__ */ 47 48 49 /* END */ 50