blob: f63462d92f4dc46db7781d05fb4e6a3b608fe876 [file] [log] [blame]
David Turner3469d0d2000-07-19 20:02:14 +00001/***************************************************************************/
2/* */
3/* ahglobal.h */
4/* */
Werner Lembergdb578ae2000-07-23 21:27:52 +00005/* Routines used to compute global metrics automatically */
6/* (specification). */
David Turner3469d0d2000-07-19 20:02:14 +00007/* */
Werner Lembergd060a752000-07-20 06:57:41 +00008/* Copyright 2000 Catharon Productions Inc. */
David Turner3469d0d2000-07-19 20:02:14 +00009/* 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 */
Werner Lembergd060a752000-07-20 06:57:41 +000014/* `CatharonLicense.txt'. By continuing to use, modify, or distribute */
David Turner3469d0d2000-07-19 20:02:14 +000015/* this file you indicate that you have read the license and */
16/* understand and accept it fully. */
17/* */
Werner Lembergd060a752000-07-20 06:57:41 +000018/* Note that this license is compatible with the FreeType license. */
David Turner3469d0d2000-07-19 20:02:14 +000019/* */
20/***************************************************************************/
Werner Lembergd060a752000-07-20 06:57:41 +000021
22
David Turner19ed8af2000-12-08 02:42:29 +000023#ifndef __AHGLOBAL_H__
24#define __AHGLOBAL_H__
David Turner3469d0d2000-07-19 20:02:14 +000025
Werner Lemberg90d99642000-12-09 00:45:38 +000026
David Turner19ed8af2000-12-08 02:42:29 +000027#include <ft2build.h>
28#include FT_SOURCE_FILE(autohint,ahtypes.h)
29#include FT_INTERNAL_OBJECTS_H
Werner Lembergd060a752000-07-20 06:57:41 +000030
Werner Lemberg90d99642000-12-09 00:45:38 +000031
David Turner19ed8af2000-12-08 02:42:29 +000032FT_BEGIN_HEADER
Werner Lembergc713d922000-08-01 13:17:04 +000033
34
Werner Lembergd060a752000-07-20 06:57:41 +000035#define AH_IS_TOP_BLUE( b ) ( (b) == ah_blue_capital_top || \
David Turner3469d0d2000-07-19 20:02:14 +000036 (b) == ah_blue_small_top )
37
Werner Lembergd060a752000-07-20 06:57:41 +000038
39 /* compute global metrics automatically */
Werner Lembergcc069be2000-12-08 16:17:16 +000040 FT_LOCAL
41 FT_Error ah_hinter_compute_globals( AH_Hinter* hinter );
David Turner3469d0d2000-07-19 20:02:14 +000042
Werner Lembergd060a752000-07-20 06:57:41 +000043
David Turner19ed8af2000-12-08 02:42:29 +000044FT_END_HEADER
Werner Lembergc713d922000-08-01 13:17:04 +000045
David Turner19ed8af2000-12-08 02:42:29 +000046#endif /* __AHGLOBAL_H__ */
Werner Lembergd060a752000-07-20 06:57:41 +000047
48
49/* END */