Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf

This commit is contained in:
Behdad Esfahbod 2014-06-27 15:13:44 -04:00
parent 99d2817123
commit bb6ecf2ce5
3 changed files with 2 additions and 10 deletions

View File

@ -139,7 +139,7 @@ struct TTCHeaderVersion1
Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */
FixedVersion version; /* Version of the TTC Header (1.0),
* 0x00010000 */
LongOffsetLongArrayOf<OffsetTable>
LongArrayOf<OffsetTo<OffsetTable, ULONG> >
table; /* Array of offsets to the OffsetTable for each font
* from the beginning of the file */
public:

View File

@ -855,14 +855,6 @@ struct LongArrayOf : ArrayOf<Type, ULONG> {};
template <typename Type>
struct OffsetArrayOf : ArrayOf<OffsetTo<Type> > {};
/* Array of LongOffset's */
template <typename Type>
struct LongOffsetArrayOf : ArrayOf<OffsetTo<Type, ULONG> > {};
/* LongArray of LongOffset's */
template <typename Type>
struct LongOffsetLongArrayOf : LongArrayOf<OffsetTo<Type, ULONG> > {};
/* Array of offsets relative to the beginning of the array itself. */
template <typename Type>
struct OffsetListOf : OffsetArrayOf<Type>

View File

@ -282,7 +282,7 @@ struct MarkGlyphSetsFormat1
protected:
USHORT format; /* Format identifier--format = 1 */
LongOffsetArrayOf<Coverage>
ArrayOf<OffsetTo<Coverage, ULONG> >
coverage; /* Array of long offsets to mark set
* coverage tables */
public: