[aat] Cosmetic touch-ups to trak table
This commit is contained in:
parent
abc82b493e
commit
6ae4013f2e
|
@ -47,11 +47,13 @@ struct TrackTableEntry
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Fixed track; /* Track value for this record. */
|
Fixed track; /* Track value for this record. */
|
||||||
HBUINT16 nameIndex; /* The 'name' table index for this track */
|
HBUINT16 trackNameID; /* The 'name' table index for this track */
|
||||||
HBUINT16 offset; /* Offset from start of tracking table to per-size tracking values for this track. */
|
OffsetTo<UnsizedArrayOf<Fixed> >
|
||||||
|
values; /* Offset from start of tracking table to
|
||||||
|
* per-size tracking values for this track. */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_MIN (8);
|
DEFINE_SIZE_STATIC (8);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TrackData
|
struct TrackData
|
||||||
|
@ -65,11 +67,12 @@ struct TrackData
|
||||||
protected:
|
protected:
|
||||||
HBUINT16 nTracks; /* Number of separate tracks included in this table. */
|
HBUINT16 nTracks; /* Number of separate tracks included in this table. */
|
||||||
HBUINT16 nSizes; /* Number of point sizes included in this table. */
|
HBUINT16 nSizes; /* Number of point sizes included in this table. */
|
||||||
OffsetTo<UnsizedArrayOf<Fixed>, HBUINT32> sizeTable;
|
LOffsetTo<UnsizedArrayOf<Fixed> >
|
||||||
|
sizeTable;
|
||||||
TrackTableEntry trackTable[VAR];/* Array[nSizes] of size values. */
|
TrackTableEntry trackTable[VAR];/* Array[nSizes] of size values. */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_MIN (8);
|
DEFINE_SIZE_ARRAY (8, trackTable);
|
||||||
};
|
};
|
||||||
|
|
||||||
struct trak
|
struct trak
|
||||||
|
@ -86,8 +89,8 @@ struct trak
|
||||||
FixedVersion<> version; /* Version of the tracking table--currently
|
FixedVersion<> version; /* Version of the tracking table--currently
|
||||||
* 0x00010000u for version 1.0. */
|
* 0x00010000u for version 1.0. */
|
||||||
HBUINT16 format; /* Format of the tracking table */
|
HBUINT16 format; /* Format of the tracking table */
|
||||||
OffsetTo<TrackData, HBUINT16> horizOffset; /* TrackData for horizontal text */
|
OffsetTo<TrackData> horizOffset; /* TrackData for horizontal text */
|
||||||
OffsetTo<TrackData, HBUINT16> vertOffset; /* TrackData for vertical text */
|
OffsetTo<TrackData> vertOffset; /* TrackData for vertical text */
|
||||||
HBUINT16 reserved; /* Reserved. Set to 0. */
|
HBUINT16 reserved; /* Reserved. Set to 0. */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue