blob: e79ad029554737ce25b4f6158bf9840c54affba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/***************************************************************************/
/* */
/* pshalgo.h */
/* */
/* This header file defines the used hinting algorithm. */
/* */
/* Copyright 2001 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used */
/* modified and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */
/* understand and accept it fully. */
/* */
/***************************************************************************/
#ifndef __PSHALGO_H__
#define __PSHALGO_H__
FT_BEGIN_HEADER
/* define to choose hinting algorithm */
#define PSH_ALGORITHM_3
#if defined(PSH_ALGORITHM_1)
# include "pshalgo1.h"
# define PS_HINTS_APPLY_FUNC ps1_hints_apply
#elif defined(PSH_ALGORITHM_2)
# include "pshalgo2.h"
# define PS_HINTS_APPLY_FUNC ps2_hints_apply
#elif defined(PSH_ALGORITHM_3)
# include "pshalgo3.h"
# define PS_HINTS_APPLY_FUNC ps3_hints_apply
#else
# error "invalid Postscript Hinter algorithm selection"
#endif
FT_END_HEADER
#endif /* __PSHALGO_H__ */
/* END */
|