提交 bb6ecf2c 编写于 作者: B Behdad Esfahbod

Minor: Remove LongOffsetArrayOf and LongOffsetLongArrayOf

上级 99d28171
...@@ -139,7 +139,7 @@ struct TTCHeaderVersion1 ...@@ -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> {}; ...@@ -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 ...@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册