4349 |
Serge |
1 |
|
|
|
2 |
"http://www.w3.org/TR/html4/loose.dtd"> |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
FreeType-2.5.0 API Reference |
|
|
7 |
|
|
|
8 |
body { font-family: Verdana, Geneva, Arial, Helvetica, serif; |
|
|
9 |
color: #000000; |
|
|
10 |
background: #FFFFFF; } |
|
|
11 |
|
|
|
12 |
p { text-align: justify; } |
|
|
13 |
h1 { text-align: center; } |
|
|
14 |
li { text-align: justify; } |
|
|
15 |
td { padding: 0 0.5em 0 0.5em; } |
|
|
16 |
td.left { padding: 0 0.5em 0 0.5em; |
|
|
17 |
text-align: left; } |
|
|
18 |
|
|
|
19 |
a:link { color: #0000EF; } |
|
|
20 |
a:visited { color: #51188E; } |
|
|
21 |
a:hover { color: #FF0000; } |
|
|
22 |
|
|
|
23 |
span.keyword { font-family: monospace; |
|
|
24 |
text-align: left; |
|
|
25 |
white-space: pre; |
|
|
26 |
color: darkblue; } |
|
|
27 |
|
|
|
28 |
pre.colored { color: blue; } |
|
|
29 |
|
|
|
30 |
ul.empty { list-style-type: none; } |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
38 |
FreeType-2.5.0 API Reference
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
OpenType Validation |
|
|
42 |
|
|
|
43 |
Synopsis
|
|
|
44 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
This section contains the declaration of functions to validate some OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF, MATH).
|
|
|
50 |
|
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
Defined in FT_OPENTYPE_VALIDATE_H (freetype/ftotval.h). |
|
|
55 |
|
|
|
|
56 |
|
|
|
73 |
|
|
|
74 |
A list of bit-field constants used with FT_OpenType_Validate to indicate which OpenType tables should be validated.
|
|
|
75 |
|
|
|
|
76 |
values | |
|
|
77 |
|
|
|
78 |
|
|
79 |
FT_VALIDATE_BASE | |
|
|
80 |
Validate BASE table.
|
|
|
81 |
|
|
|
|
82 |
FT_VALIDATE_GDEF | |
|
|
83 |
Validate GDEF table.
|
|
|
84 |
|
|
|
|
85 |
FT_VALIDATE_GPOS | |
|
|
86 |
Validate GPOS table.
|
|
|
87 |
|
|
|
|
88 |
FT_VALIDATE_GSUB | |
|
|
89 |
Validate GSUB table.
|
|
|
90 |
|
|
|
|
91 |
FT_VALIDATE_JSTF | |
|
|
92 |
Validate JSTF table.
|
|
|
93 |
|
|
|
|
94 |
FT_VALIDATE_MATH | |
|
|
95 |
Validate MATH table.
|
|
|
96 |
|
|
|
|
97 |
FT_VALIDATE_OT | |
|
|
98 |
Validate all OpenType tables (BASE, GDEF, GPOS, GSUB, JSTF, MATH).
|
|
|
99 |
|
|
|
|
100 |
| |
|
|
101 |
|
|
|
|
102 |
|
|
|
|
103 |
|
|
|
104 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
Defined in FT_OPENTYPE_VALIDATE_H (freetype/ftotval.h). |
|
|
112 |
|
|
|
|
113 |
|
|
|
125 |
|
|
|
126 |
Validate various OpenType tables to assure that all offsets and indices are valid. The idea is that a higher-level library which actually does the text layout can access those tables without error checking (which can be quite time consuming).
|
|
|
127 |
|
|
|
|
128 |
|
|
|
139 |
|
|
|
159 |
return | |
|
|
160 |
FreeType error code. 0 means success.
|
|
|
161 |
|
|
|
|
162 |
note | |
|
|
163 |
This function only works with OpenType fonts, returning an error otherwise.
|
|
|
164 |
After use, the application should deallocate the five tables with FT_OpenType_Free. A NULL value indicates that the table either doesn't exist in the font, or the application hasn't asked for validation.
|
|
|
165 |
|
|
|
|
166 |
|
|
|
|
167 |
|
|
|
168 |
|
|
|
171 |
|
|
|
172 |
|
|
|
202 |
|
|
|
203 |
|
|
|
206 |
|
|
|
207 |
|
|
|
208 |
|
!DOCTYPE>