[sbix] Use LOffsetLArrayOf<>
This commit is contained in:
parent
a3ddd8067f
commit
6562172381
|
@ -541,6 +541,8 @@ typedef ArrayOf<HBUINT8, HBUINT8> PString;
|
||||||
/* Array of Offset's */
|
/* Array of Offset's */
|
||||||
template <typename Type, typename OffsetType=HBUINT16>
|
template <typename Type, typename OffsetType=HBUINT16>
|
||||||
struct OffsetArrayOf : ArrayOf<OffsetTo<Type, OffsetType> > {};
|
struct OffsetArrayOf : ArrayOf<OffsetTo<Type, OffsetType> > {};
|
||||||
|
template <typename Type>
|
||||||
|
struct LOffsetLArrayOf : ArrayOf<OffsetTo<Type, HBUINT32>, HBUINT32> {};
|
||||||
|
|
||||||
/* 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>
|
||||||
|
|
|
@ -271,7 +271,7 @@ struct sbix
|
||||||
HBUINT16 version; /* Table version number — set to 1 */
|
HBUINT16 version; /* Table version number — set to 1 */
|
||||||
HBUINT16 flags; /* Bit 0: Set to 1. Bit 1: Draw outlines.
|
HBUINT16 flags; /* Bit 0: Set to 1. Bit 1: Draw outlines.
|
||||||
* Bits 2 to 15: reserved (set to 0). */
|
* Bits 2 to 15: reserved (set to 0). */
|
||||||
LArrayOf<LOffsetTo<SBIXStrike> >
|
LOffsetLArrayOf<SBIXStrike>
|
||||||
strikes; /* Offsets from the beginning of the 'sbix'
|
strikes; /* Offsets from the beginning of the 'sbix'
|
||||||
* table to data for each individual bitmap strike. */
|
* table to data for each individual bitmap strike. */
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue