#include "otvalid.h"
#include "otvcommn.h"
Go to the source code of this file.
◆ FT_COMPONENT
#define FT_COMPONENT trace_otvbase |
◆ otv_Axis_validate()
Definition at line 252 of file otvbase.c.
254 {
257
259
260
262
265
267
269 if ( BaseTagList )
271
272
274
276 }
#define FT_NEXT_USHORT(buffer)
static void otv_BaseTagList_validate(FT_Bytes table, OTV_Validator otvalid)
static void otv_BaseScriptList_validate(FT_Bytes table, OTV_Validator otvalid)
#define OTV_SIZE_CHECK(_size)
#define OTV_OPTIONAL_OFFSET(_offset)
#define OTV_NAME_ENTER(name)
#define OTV_LIMIT_CHECK(_count)
#define OTV_OPTIONAL_TABLE(_table)
Referenced by otv_BASE_validate().
◆ otv_BASE_validate()
Definition at line 280 of file otvbase.c.
282 {
288
291
293
294
295 otvalid->root = ftvalid;
296
297 FT_TRACE3((
"validating BASE table\n" ));
299
301
304
306
309 {
310 case 0:
312 break;
313
314 case 1:
317 break;
318
319 default:
321 }
322
325 if ( HorizAxis )
327
330 if ( VertAxis )
332
334 {
337 if ( itemVarStore )
338 OTV_TRACE((
" [omitting itemVarStore validation]\n" ));
339 }
340
342 }
static const WCHAR version[]
#define FT_TRACE3(varformat)
#define FT_TRACE4(varformat)
#define FT_INVALID_FORMAT
static void otv_Axis_validate(FT_Bytes table, OTV_Validator otvalid)
typedefFT_BEGIN_HEADER struct OTV_ValidatorRec_ * OTV_Validator
#define OTV_SIZE_CHECK32(_size)
#define OTV_OPTIONAL_TABLE32(_table)
#define OTV_OPTIONAL_OFFSET32(_offset)
Referenced by otv_validate().
◆ otv_BaseCoord_validate()
Definition at line 34 of file otvbase.c.
36 {
39
40
42
46
47 OTV_TRACE((
" (format %d)\n", BaseCoordFormat ));
48
49 switch ( BaseCoordFormat )
50 {
51 case 1:
52 break;
53
54 case 2:
56 break;
57
58 case 3:
60
62 break;
63
64 default:
66 }
67
69 }
otv_Device_validate(FT_Bytes table, OTV_Validator otvalid)
Referenced by otv_BaseValues_validate(), and otv_MinMax_validate().
◆ otv_BaseScript_validate()
Definition at line 177 of file otvbase.c.
179 {
183
186
187
189
194
195 OTV_TRACE((
" (BaseLangSysCount = %d)\n", BaseLangSysCount ));
196
198
200 if ( BaseValues )
202
204 if ( DefaultMinMax )
206
208
209
210 for ( ; BaseLangSysCount > 0; BaseLangSysCount-- )
211 {
213
215 }
216
218 }
static void otv_BaseValues_validate(FT_Bytes table, OTV_Validator otvalid)
static void otv_MinMax_validate(FT_Bytes table, OTV_Validator otvalid)
Referenced by otv_BaseScriptList_validate().
◆ otv_BaseScriptList_validate()
Definition at line 222 of file otvbase.c.
224 {
227
228
230
233
234 OTV_TRACE((
" (BaseScriptCount = %d)\n", BaseScriptCount ));
235
237
238
239 for ( ; BaseScriptCount > 0; BaseScriptCount-- )
240 {
242
243
245 }
246
248 }
static void otv_BaseScript_validate(FT_Bytes table, OTV_Validator otvalid)
Referenced by otv_Axis_validate().
◆ otv_BaseTagList_validate()
◆ otv_BaseValues_validate()
Definition at line 95 of file otvbase.c.
97 {
100
101
103
105
108
109 OTV_TRACE((
" (BaseCoordCount = %d)\n", BaseCoordCount ));
110
112
113
114 for ( ; BaseCoordCount > 0; BaseCoordCount-- )
116
118 }
static void otv_BaseCoord_validate(FT_Bytes table, OTV_Validator otvalid)
Referenced by otv_BaseScript_validate().
◆ otv_MinMax_validate()
Definition at line 122 of file otvbase.c.
124 {
128
131
132
134
136
140
141 OTV_TRACE((
" (FeatMinMaxCount = %d)\n", FeatMinMaxCount ));
142
144
146 if ( MinCoord )
148
150 if ( MaxCoord )
152
154
155
156 for ( ; FeatMinMaxCount > 0; FeatMinMaxCount-- )
157 {
159
162
164 if ( MinCoord )
166
168 if ( MaxCoord )
170 }
171
173 }
Referenced by otv_BaseScript_validate().