1 /****************************************************************************
2 *
3 * tttags.h
4 *
5 * Tags for TrueType and OpenType tables (specification only).
6 *
7 * Copyright (C) 1996-2019 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
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.
15 *
16 */
17
18
19 #ifndef TTAGS_H_
20 #define TTAGS_H_
21
22
23 #include <ft2build.h>
24 #include FT_FREETYPE_H
25
26 #ifdef FREETYPE_H
27 #error "freetype.h of FreeType 1 has been loaded!"
90 #define TTAG_OTTO FT_MAKE_TAG( 'O', 'T', 'T', 'O' )
91 #define TTAG_PCLT FT_MAKE_TAG( 'P', 'C', 'L', 'T' )
92 #define TTAG_POST FT_MAKE_TAG( 'P', 'O', 'S', 'T' )
93 #define TTAG_post FT_MAKE_TAG( 'p', 'o', 's', 't' )
94 #define TTAG_prep FT_MAKE_TAG( 'p', 'r', 'e', 'p' )
95 #define TTAG_prop FT_MAKE_TAG( 'p', 'r', 'o', 'p' )
96 #define TTAG_sbix FT_MAKE_TAG( 's', 'b', 'i', 'x' )
97 #define TTAG_sfnt FT_MAKE_TAG( 's', 'f', 'n', 't' )
98 #define TTAG_SING FT_MAKE_TAG( 'S', 'I', 'N', 'G' )
99 #define TTAG_trak FT_MAKE_TAG( 't', 'r', 'a', 'k' )
100 #define TTAG_true FT_MAKE_TAG( 't', 'r', 'u', 'e' )
101 #define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' )
102 #define TTAG_ttcf FT_MAKE_TAG( 't', 't', 'c', 'f' )
103 #define TTAG_TYP1 FT_MAKE_TAG( 'T', 'Y', 'P', '1' )
104 #define TTAG_typ1 FT_MAKE_TAG( 't', 'y', 'p', '1' )
105 #define TTAG_VDMX FT_MAKE_TAG( 'V', 'D', 'M', 'X' )
106 #define TTAG_vhea FT_MAKE_TAG( 'v', 'h', 'e', 'a' )
107 #define TTAG_vmtx FT_MAKE_TAG( 'v', 'm', 't', 'x' )
108 #define TTAG_VVAR FT_MAKE_TAG( 'V', 'V', 'A', 'R' )
109 #define TTAG_wOFF FT_MAKE_TAG( 'w', 'O', 'F', 'F' )
110
111 /* used by "Keyboard.dfont" on legacy Mac OS X */
112 #define TTAG_0xA5kbd FT_MAKE_TAG( 0xA5, 'k', 'b', 'd' )
113
114 /* used by "LastResort.dfont" on legacy Mac OS X */
115 #define TTAG_0xA5lst FT_MAKE_TAG( 0xA5, 'l', 's', 't' )
116
117
118 FT_END_HEADER
119
120 #endif /* TTAGS_H_ */
121
122
123 /* END */
|
1 /****************************************************************************
2 *
3 * tttags.h
4 *
5 * Tags for TrueType and OpenType tables (specification only).
6 *
7 * Copyright (C) 1996-2020 by
8 * David Turner, Robert Wilhelm, and Werner Lemberg.
9 *
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.
15 *
16 */
17
18
19 #ifndef TTAGS_H_
20 #define TTAGS_H_
21
22
23 #include <ft2build.h>
24 #include FT_FREETYPE_H
25
26 #ifdef FREETYPE_H
27 #error "freetype.h of FreeType 1 has been loaded!"
90 #define TTAG_OTTO FT_MAKE_TAG( 'O', 'T', 'T', 'O' )
91 #define TTAG_PCLT FT_MAKE_TAG( 'P', 'C', 'L', 'T' )
92 #define TTAG_POST FT_MAKE_TAG( 'P', 'O', 'S', 'T' )
93 #define TTAG_post FT_MAKE_TAG( 'p', 'o', 's', 't' )
94 #define TTAG_prep FT_MAKE_TAG( 'p', 'r', 'e', 'p' )
95 #define TTAG_prop FT_MAKE_TAG( 'p', 'r', 'o', 'p' )
96 #define TTAG_sbix FT_MAKE_TAG( 's', 'b', 'i', 'x' )
97 #define TTAG_sfnt FT_MAKE_TAG( 's', 'f', 'n', 't' )
98 #define TTAG_SING FT_MAKE_TAG( 'S', 'I', 'N', 'G' )
99 #define TTAG_trak FT_MAKE_TAG( 't', 'r', 'a', 'k' )
100 #define TTAG_true FT_MAKE_TAG( 't', 'r', 'u', 'e' )
101 #define TTAG_ttc FT_MAKE_TAG( 't', 't', 'c', ' ' )
102 #define TTAG_ttcf FT_MAKE_TAG( 't', 't', 'c', 'f' )
103 #define TTAG_TYP1 FT_MAKE_TAG( 'T', 'Y', 'P', '1' )
104 #define TTAG_typ1 FT_MAKE_TAG( 't', 'y', 'p', '1' )
105 #define TTAG_VDMX FT_MAKE_TAG( 'V', 'D', 'M', 'X' )
106 #define TTAG_vhea FT_MAKE_TAG( 'v', 'h', 'e', 'a' )
107 #define TTAG_vmtx FT_MAKE_TAG( 'v', 'm', 't', 'x' )
108 #define TTAG_VVAR FT_MAKE_TAG( 'V', 'V', 'A', 'R' )
109 #define TTAG_wOFF FT_MAKE_TAG( 'w', 'O', 'F', 'F' )
110 #define TTAG_wOF2 FT_MAKE_TAG( 'w', 'O', 'F', '2' )
111
112 /* used by "Keyboard.dfont" on legacy Mac OS X */
113 #define TTAG_0xA5kbd FT_MAKE_TAG( 0xA5, 'k', 'b', 'd' )
114
115 /* used by "LastResort.dfont" on legacy Mac OS X */
116 #define TTAG_0xA5lst FT_MAKE_TAG( 0xA5, 'l', 's', 't' )
117
118
119 FT_END_HEADER
120
121 #endif /* TTAGS_H_ */
122
123
124 /* END */
|