From bb6ecf2ce5c2679c298741af17836a22e1d68121 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 27 Jun 2014 15:13:44 -0400 Subject: [PATCH] Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf --- src/hb-open-file-private.hh | 2 +- src/hb-open-type-private.hh | 8 -------- src/hb-ot-layout-gdef-table.hh | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/hb-open-file-private.hh b/src/hb-open-file-private.hh index 250504ae2..b583aa1c5 100644 --- a/src/hb-open-file-private.hh +++ b/src/hb-open-file-private.hh @@ -139,7 +139,7 @@ struct TTCHeaderVersion1 Tag ttcTag; /* TrueType Collection ID string: 'ttcf' */ FixedVersion version; /* Version of the TTC Header (1.0), * 0x00010000 */ - LongOffsetLongArrayOf + LongArrayOf > table; /* Array of offsets to the OffsetTable for each font * from the beginning of the file */ public: diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 84e4aa23e..2fba736c4 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -855,14 +855,6 @@ struct LongArrayOf : ArrayOf {}; template struct OffsetArrayOf : ArrayOf > {}; -/* Array of LongOffset's */ -template -struct LongOffsetArrayOf : ArrayOf > {}; - -/* LongArray of LongOffset's */ -template -struct LongOffsetLongArrayOf : LongArrayOf > {}; - /* Array of offsets relative to the beginning of the array itself. */ template struct OffsetListOf : OffsetArrayOf diff --git a/src/hb-ot-layout-gdef-table.hh b/src/hb-ot-layout-gdef-table.hh index 389cbb9e3..bb8a4b944 100644 --- a/src/hb-ot-layout-gdef-table.hh +++ b/src/hb-ot-layout-gdef-table.hh @@ -282,7 +282,7 @@ struct MarkGlyphSetsFormat1 protected: USHORT format; /* Format identifier--format = 1 */ - LongOffsetArrayOf + ArrayOf > coverage; /* Array of long offsets to mark set * coverage tables */ public: