1 /***************************************************************************/
5 /* This header file defines the used hinting algorithm. */
7 /* Copyright 2001 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used */
11 /* modified and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
24 /* define to choose hinting algorithm */
25 #define PSH_ALGORITHM_3
27 #if defined(PSH_ALGORITHM_1)
29 # include "pshalgo1.h"
30 # define PS_HINTS_APPLY_FUNC ps1_hints_apply
32 #elif defined(PSH_ALGORITHM_2)
34 # include "pshalgo2.h"
35 # define PS_HINTS_APPLY_FUNC ps2_hints_apply
37 #elif defined(PSH_ALGORITHM_3)
39 # include "pshalgo3.h"
40 # define PS_HINTS_APPLY_FUNC ps3_hints_apply
44 # error "invalid Postscript Hinter algorithm selection"
50 #endif /* __PSHALGO_H__ */