1 /***************************************************************************/ |
|
2 /* */ |
|
3 /* ttunpat.h */ |
|
4 /* */ |
|
5 /* Definitions for the unpatented TrueType hinting system */ |
|
6 /* */ |
|
7 /* Copyright 2003, 2006 by */ |
|
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
|
9 /* */ |
|
10 /* Written by Graham Asher <graham.asher@btinternet.com> */ |
|
11 /* */ |
|
12 /* This file is part of the FreeType project, and may only be used, */ |
|
13 /* modified, and distributed under the terms of the FreeType project */ |
|
14 /* license, LICENSE.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 /***************************************************************************/ |
|
19 |
|
20 |
|
21 #ifndef __TTUNPAT_H__ |
|
22 #define __TTUNPAT_H__ |
|
23 |
|
24 |
|
25 #include <ft2build.h> |
|
26 #include FT_FREETYPE_H |
|
27 |
|
28 #ifdef FREETYPE_H |
|
29 #error "freetype.h of FreeType 1 has been loaded!" |
|
30 #error "Please fix the directory search order for header files" |
|
31 #error "so that freetype.h of FreeType 2 is found first." |
|
32 #endif |
|
33 |
|
34 |
|
35 FT_BEGIN_HEADER |
|
36 |
|
37 |
|
38 /*************************************************************************** |
|
39 * |
|
40 * @constant: |
|
41 * FT_PARAM_TAG_UNPATENTED_HINTING |
|
42 * |
|
43 * @description: |
|
44 * A constant used as the tag of an @FT_Parameter structure to indicate |
|
45 * that unpatented methods only should be used by the TrueType bytecode |
|
46 * interpreter for a typeface opened by @FT_Open_Face. |
|
47 * |
|
48 */ |
|
49 #define FT_PARAM_TAG_UNPATENTED_HINTING FT_MAKE_TAG( 'u', 'n', 'p', 'a' ) |
|
50 |
|
51 /* */ |
|
52 |
|
53 FT_END_HEADER |
|
54 |
|
55 |
|
56 #endif /* __TTUNPAT_H__ */ |
|
57 |
|
58 |
|
59 /* END */ |
|