ahglobal.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #ifndef __AHGLOBAL_H__
  22. #define __AHGLOBAL_H__
  23. #include <ft2build.h>
  24. #include "ahtypes.h"
  25. #include FT_INTERNAL_OBJECTS_H
  26. FT_BEGIN_HEADER
  27. #define AH_IS_TOP_BLUE( b ) ( (b) == AH_BLUE_CAPITAL_TOP || \
  28. (b) == AH_BLUE_SMALL_TOP )
  29. /* compute global metrics automatically */
  30. FT_LOCAL( FT_Error )
  31. ah_hinter_compute_globals( AH_Hinter hinter );
  32. FT_END_HEADER
  33. #endif /* __AHGLOBAL_H__ */
  34. /* END */