Lines 35-41
Link Here
|
35 |
|
35 |
|
36 |
typedef SHORT Value; |
36 |
typedef SHORT Value; |
37 |
|
37 |
|
38 |
typedef Value ValueRecord[0]; |
38 |
typedef Value *ValueRecord; |
39 |
ASSERT_SIZE (ValueRecord, 0); |
39 |
ASSERT_SIZE (ValueRecord, 0); |
40 |
|
40 |
|
41 |
struct ValueFormat : USHORT |
41 |
struct ValueFormat : USHORT |
Lines 259-267
struct Anchor
Link Here
|
259 |
private: |
259 |
private: |
260 |
union { |
260 |
union { |
261 |
USHORT format; /* Format identifier */ |
261 |
USHORT format; /* Format identifier */ |
262 |
AnchorFormat1 format1[]; |
262 |
AnchorFormat1 *format1; |
263 |
AnchorFormat2 format2[]; |
263 |
AnchorFormat2 *format2; |
264 |
AnchorFormat3 format3[]; |
264 |
AnchorFormat3 *format3; |
265 |
} u; |
265 |
} u; |
266 |
}; |
266 |
}; |
267 |
ASSERT_SIZE (Anchor, 2); |
267 |
ASSERT_SIZE (Anchor, 2); |
Lines 287-293
struct AnchorMatrix
Link Here
|
287 |
USHORT rows; /* Number of rows */ |
287 |
USHORT rows; /* Number of rows */ |
288 |
private: |
288 |
private: |
289 |
OffsetTo<Anchor> |
289 |
OffsetTo<Anchor> |
290 |
matrix[]; /* Matrix of offsets to Anchor tables-- |
290 |
*matrix; /* Matrix of offsets to Anchor tables-- |
291 |
* from beginning of AnchorMatrix table */ |
291 |
* from beginning of AnchorMatrix table */ |
292 |
}; |
292 |
}; |
293 |
ASSERT_SIZE (AnchorMatrix, 2); |
293 |
ASSERT_SIZE (AnchorMatrix, 2); |
Lines 461-468
struct SinglePos
Link Here
|
461 |
private: |
461 |
private: |
462 |
union { |
462 |
union { |
463 |
USHORT format; /* Format identifier */ |
463 |
USHORT format; /* Format identifier */ |
464 |
SinglePosFormat1 format1[]; |
464 |
SinglePosFormat1 *format1; |
465 |
SinglePosFormat2 format2[]; |
465 |
SinglePosFormat2 *format2; |
466 |
} u; |
466 |
} u; |
467 |
}; |
467 |
}; |
468 |
ASSERT_SIZE (SinglePos, 2); |
468 |
ASSERT_SIZE (SinglePos, 2); |
Lines 495-501
struct PairSet
Link Here
|
495 |
private: |
495 |
private: |
496 |
USHORT len; /* Number of PairValueRecords */ |
496 |
USHORT len; /* Number of PairValueRecords */ |
497 |
PairValueRecord |
497 |
PairValueRecord |
498 |
array[]; /* Array of PairValueRecords--ordered |
498 |
*array; /* Array of PairValueRecords--ordered |
499 |
* by GlyphID of the second glyph */ |
499 |
* by GlyphID of the second glyph */ |
500 |
}; |
500 |
}; |
501 |
ASSERT_SIZE (PairSet, 2); |
501 |
ASSERT_SIZE (PairSet, 2); |
Lines 684-691
struct PairPos
Link Here
|
684 |
private: |
684 |
private: |
685 |
union { |
685 |
union { |
686 |
USHORT format; /* Format identifier */ |
686 |
USHORT format; /* Format identifier */ |
687 |
PairPosFormat1 format1[]; |
687 |
PairPosFormat1 *format1; |
688 |
PairPosFormat2 format2[]; |
688 |
PairPosFormat2 *format2; |
689 |
} u; |
689 |
} u; |
690 |
}; |
690 |
}; |
691 |
ASSERT_SIZE (PairPos, 2); |
691 |
ASSERT_SIZE (PairPos, 2); |
Lines 931-937
struct CursivePos
Link Here
|
931 |
private: |
931 |
private: |
932 |
union { |
932 |
union { |
933 |
USHORT format; /* Format identifier */ |
933 |
USHORT format; /* Format identifier */ |
934 |
CursivePosFormat1 format1[]; |
934 |
CursivePosFormat1 *format1; |
935 |
} u; |
935 |
} u; |
936 |
}; |
936 |
}; |
937 |
ASSERT_SIZE (CursivePos, 2); |
937 |
ASSERT_SIZE (CursivePos, 2); |
Lines 1027-1033
struct MarkBasePos
Link Here
|
1027 |
private: |
1027 |
private: |
1028 |
union { |
1028 |
union { |
1029 |
USHORT format; /* Format identifier */ |
1029 |
USHORT format; /* Format identifier */ |
1030 |
MarkBasePosFormat1 format1[]; |
1030 |
MarkBasePosFormat1 *format1; |
1031 |
} u; |
1031 |
} u; |
1032 |
}; |
1032 |
}; |
1033 |
ASSERT_SIZE (MarkBasePos, 2); |
1033 |
ASSERT_SIZE (MarkBasePos, 2); |
Lines 1152-1158
struct MarkLigPos
Link Here
|
1152 |
private: |
1152 |
private: |
1153 |
union { |
1153 |
union { |
1154 |
USHORT format; /* Format identifier */ |
1154 |
USHORT format; /* Format identifier */ |
1155 |
MarkLigPosFormat1 format1[]; |
1155 |
MarkLigPosFormat1 *format1; |
1156 |
} u; |
1156 |
} u; |
1157 |
}; |
1157 |
}; |
1158 |
ASSERT_SIZE (MarkLigPos, 2); |
1158 |
ASSERT_SIZE (MarkLigPos, 2); |
Lines 1253-1259
struct MarkMarkPos
Link Here
|
1253 |
private: |
1253 |
private: |
1254 |
union { |
1254 |
union { |
1255 |
USHORT format; /* Format identifier */ |
1255 |
USHORT format; /* Format identifier */ |
1256 |
MarkMarkPosFormat1 format1[]; |
1256 |
MarkMarkPosFormat1 *format1; |
1257 |
} u; |
1257 |
} u; |
1258 |
}; |
1258 |
}; |
1259 |
ASSERT_SIZE (MarkMarkPos, 2); |
1259 |
ASSERT_SIZE (MarkMarkPos, 2); |
Lines 1362-1376
struct PosLookupSubTable
Link Here
|
1362 |
private: |
1362 |
private: |
1363 |
union { |
1363 |
union { |
1364 |
USHORT format; |
1364 |
USHORT format; |
1365 |
SinglePos single[]; |
1365 |
SinglePos *single; |
1366 |
PairPos pair[]; |
1366 |
PairPos *pair; |
1367 |
CursivePos cursive[]; |
1367 |
CursivePos *cursive; |
1368 |
MarkBasePos markBase[]; |
1368 |
MarkBasePos *markBase; |
1369 |
MarkLigPos markLig[]; |
1369 |
MarkLigPos *markLig; |
1370 |
MarkMarkPos markMark[]; |
1370 |
MarkMarkPos *markMark; |
1371 |
ContextPos context[]; |
1371 |
ContextPos *context; |
1372 |
ChainContextPos chainContext[]; |
1372 |
ChainContextPos *chainContext; |
1373 |
ExtensionPos extension[]; |
1373 |
ExtensionPos *extension; |
1374 |
} u; |
1374 |
} u; |
1375 |
}; |
1375 |
}; |
1376 |
ASSERT_SIZE (PosLookupSubTable, 2); |
1376 |
ASSERT_SIZE (PosLookupSubTable, 2); |