Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf

pull/27/merge
Behdad Esfahbod 11 years ago
parent 99d2817123
commit bb6ecf2ce5
  1. 2
      src/hb-open-file-private.hh
  2. 8
      src/hb-open-type-private.hh
  3. 2
      src/hb-ot-layout-gdef-table.hh

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

@ -855,14 +855,6 @@ struct LongArrayOf : ArrayOf<Type, ULONG> {};
template <typename Type> template <typename Type>
struct OffsetArrayOf : ArrayOf<OffsetTo<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. */ /* Array of offsets relative to the beginning of the array itself. */
template <typename Type> template <typename Type>
struct OffsetListOf : OffsetArrayOf<Type> struct OffsetListOf : OffsetArrayOf<Type>

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

Loading…
Cancel
Save