[HB] More template goodness
This commit is contained in:
parent
aa3d7adca5
commit
dcb6b60254
|
@ -358,24 +358,19 @@ struct ChainRule {
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
USHORT backtrackCount; /* Total number of glyphs in the
|
ArrayOf<USHORT>
|
||||||
* backtrack sequence (number of
|
backtrack; /* Array of backtracking values
|
||||||
* glyphs to be matched before the
|
|
||||||
* first glyph) */
|
|
||||||
USHORT backtrack[]; /* Array of backtracking values
|
|
||||||
* (to be matched before the input
|
* (to be matched before the input
|
||||||
* sequence) */
|
* sequence) */
|
||||||
USHORT inputCountX; /* Total number of values in the input
|
USHORT inputCountX; /* Total number of values in the input
|
||||||
* sequence (includes the first glyph) */
|
* sequence (includes the first glyph) */
|
||||||
USHORT inputX[]; /* Array of input values (start with
|
USHORT inputX[]; /* Array of input values (start with
|
||||||
* second glyph) */
|
* second glyph) */
|
||||||
USHORT lookaheadCountX; /* Total number of glyphs in the look
|
ArrayOf<USHORT>
|
||||||
* ahead sequence (number of glyphs to
|
lookaheadX; /* Array of lookahead values's (to be
|
||||||
* be matched after the input sequence) */
|
|
||||||
USHORT lookaheadX[]; /* Array of lookahead values's (to be
|
|
||||||
* matched after the input sequence) */
|
* matched after the input sequence) */
|
||||||
USHORT lookupCountX; /* Number of LookupRecords */
|
ArrayOf<LookupRecord>
|
||||||
LookupRecord lookupRecordX[]; /* Array of LookupRecords--in
|
lookupRecordX; /* Array of LookupRecords--in
|
||||||
* design order) */
|
* design order) */
|
||||||
};
|
};
|
||||||
ASSERT_SIZE (ChainRule, 8);
|
ASSERT_SIZE (ChainRule, 8);
|
||||||
|
@ -516,23 +511,21 @@ struct ChainContextFormat3 {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
USHORT format; /* Format identifier--format = 3 */
|
USHORT format; /* Format identifier--format = 3 */
|
||||||
USHORT backtrackGlyphCount; /* Number of glyphs in the backtracking
|
OffsetArrayOf<Coverage>
|
||||||
* sequence */
|
backtrackCoverage; /* Array of coverage tables
|
||||||
Offset backtrackCoverage[]; /* Array of offsets to coverage tables
|
|
||||||
* in backtracking sequence, in glyph
|
* in backtracking sequence, in glyph
|
||||||
* sequence order */
|
* sequence order */
|
||||||
USHORT inputGlyphCountX; /* Number of glyphs in input sequence */
|
OffsetArrayOf<Coverage>
|
||||||
Offset inputCoverageX[]; /* Array of offsets to coverage
|
inputCoverageX ; /* Array of coverage
|
||||||
* tables in input sequence, in glyph
|
* tables in input sequence, in glyph
|
||||||
* sequence order */
|
* sequence order */
|
||||||
USHORT lookaheadGlyphCountX; /* Number of glyphs in lookahead
|
OffsetArrayOf<Coverage>
|
||||||
* sequence */
|
lookaheadCoverageX; /* Array of coverage tables
|
||||||
Offset lookaheadCoverageX[]; /* Array of offsets to coverage tables
|
|
||||||
* in lookahead sequence, in glyph
|
* in lookahead sequence, in glyph
|
||||||
* sequence order */
|
* sequence order */
|
||||||
USHORT lookupCountX; /* Number of LookupRecords */
|
ArrayOf<LookupRecord>
|
||||||
LookupRecord lookupRecordX[]; /* Array of LookupRecords--in
|
lookupRecordX; /* Array of LookupRecords--in
|
||||||
* design order */
|
* design order) */
|
||||||
};
|
};
|
||||||
ASSERT_SIZE (ChainContextFormat3, 10);
|
ASSERT_SIZE (ChainContextFormat3, 10);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue