minor, use LOffsetTo and LArrayOf whenever possible (#966)
This commit is contained in:
parent
cb3fa70cd4
commit
b799fc8077
|
@ -302,9 +302,10 @@ struct ContextualSubtable
|
|||
}
|
||||
|
||||
protected:
|
||||
StateTable<EntryData> machine;
|
||||
OffsetTo<UnsizedOffsetListOf<Lookup<GlyphID>, HBUINT32>, HBUINT32>
|
||||
substitutionTables;
|
||||
StateTable<EntryData>
|
||||
machine;
|
||||
LOffsetTo<UnsizedOffsetListOf<Lookup<GlyphID>, HBUINT32> >
|
||||
substitutionTables;
|
||||
public:
|
||||
DEFINE_SIZE_STATIC (20);
|
||||
};
|
||||
|
@ -461,7 +462,8 @@ struct LigatureSubtable
|
|||
}
|
||||
|
||||
protected:
|
||||
StateTable<EntryData> machine;
|
||||
StateTable<EntryData>
|
||||
machine;
|
||||
LOffsetTo<UnsizedArrayOf<HBUINT32> >
|
||||
ligAction; /* Offset to the ligature action table. */
|
||||
LOffsetTo<UnsizedArrayOf<HBUINT16> >
|
||||
|
|
|
@ -67,7 +67,7 @@ struct ltag
|
|||
protected:
|
||||
HBUINT32 version; /* Table version; currently 1 */
|
||||
HBUINT32 flags; /* Table flags; currently none defined */
|
||||
ArrayOf<FTStringRange, HBUINT32>
|
||||
LArrayOf<FTStringRange>
|
||||
tagRanges; /* Range for each tag's string */
|
||||
public:
|
||||
DEFINE_SIZE_ARRAY (12, tagRanges);
|
||||
|
|
|
@ -234,7 +234,7 @@ struct TTCHeaderVersion1
|
|||
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */
|
||||
FixedVersion<>version; /* Version of the TTC Header (1.0),
|
||||
* 0x00010000u */
|
||||
ArrayOf<LOffsetTo<OffsetTable>, HBUINT32>
|
||||
LArrayOf<LOffsetTo<OffsetTable> >
|
||||
table; /* Array of offsets to the OffsetTable for each font
|
||||
* from the beginning of the file */
|
||||
public:
|
||||
|
|
|
@ -284,8 +284,8 @@ struct CmapSubtableLongSegmented
|
|||
protected:
|
||||
HBUINT16 format; /* Subtable format; set to 12. */
|
||||
HBUINT16 reservedZ; /* Reserved; set to 0. */
|
||||
HBUINT32 lengthZ; /* Byte length of this subtable. */
|
||||
HBUINT32 languageZ; /* Ignore. */
|
||||
HBUINT32 lengthZ; /* Byte length of this subtable. */
|
||||
HBUINT32 languageZ; /* Ignore. */
|
||||
SortedArrayOf<CmapSubtableLongGroup, HBUINT32>
|
||||
groups; /* Groupings. */
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue