diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh index 202cb2019..85332b0f7 100644 --- a/src/hb-aat-layout-common.hh +++ b/src/hb-aat-layout-common.hh @@ -164,7 +164,7 @@ struct LookupSegmentArray GlyphID last; /* Last GlyphID in this segment */ GlyphID first; /* First GlyphID in this segment */ - OffsetTo, HBUINT16, false> + NNOffsetTo > valuesZ; /* A 16-bit offset from the start of * the table to the data. */ public: @@ -629,11 +629,11 @@ struct StateTable protected: HBUINT nClasses; /* Number of classes, which is the number of indices * in a single line in the state array. */ - OffsetTo + NNOffsetTo classTable; /* Offset to the class table. */ - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> stateArrayTable;/* Offset to the state array. */ - OffsetTo >, HBUINT, false> + NNOffsetTo >, HBUINT> entryTable; /* Offset to the entry array. */ public: diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index f52593926..b86c5131b 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -374,7 +374,7 @@ struct KerxSubTableFormat1 protected: KernSubTableHeader header; StateTable machine; - OffsetTo, HBUINT, false>kernAction; + NNOffsetTo, HBUINT> kernAction; public: DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 5 * sizeof (HBUINT)); }; @@ -443,13 +443,13 @@ struct KerxSubTableFormat2 protected: KernSubTableHeader header; HBUINT rowWidth; /* The width, in bytes, of a row in the table. */ - OffsetTo + NNOffsetTo leftClassTable; /* Offset from beginning of this subtable to * left-hand class table. */ - OffsetTo + NNOffsetTo rightClassTable;/* Offset from beginning of this subtable to * right-hand class table. */ - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> array; /* Offset from beginning of this subtable to * the start of the kerning array. */ public: @@ -719,18 +719,18 @@ struct KerxSubTableFormat6 { struct Long { - LOffsetTo, false> rowIndexTable; - LOffsetTo, false> columnIndexTable; - LOffsetTo, false> array; + LNNOffsetTo > rowIndexTable; + LNNOffsetTo > columnIndexTable; + LNNOffsetTo > array; } l; struct Short { - LOffsetTo, false> rowIndexTable; - LOffsetTo, false> columnIndexTable; - LOffsetTo, false> array; + LNNOffsetTo > rowIndexTable; + LNNOffsetTo > columnIndexTable; + LNNOffsetTo > array; } s; } u; - LOffsetTo, false> vector; + LNNOffsetTo > vector; public: DEFINE_SIZE_STATIC (KernSubTableHeader::static_size + 24); }; diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index 15686b657..d8a90bbd8 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -352,7 +352,7 @@ struct ContextualSubtable protected: StateTable machine; - OffsetTo, HBUINT, false>, HBUINT, false> + NNOffsetTo, HBUINT, false>, HBUINT> substitutionTables; public: DEFINE_SIZE_STATIC (20); @@ -591,11 +591,11 @@ struct LigatureSubtable protected: StateTable machine; - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> ligAction; /* Offset to the ligature action table. */ - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> component; /* Offset to the component table. */ - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> ligature; /* Offset to the actual ligature lists. */ public: DEFINE_SIZE_STATIC (28); @@ -833,7 +833,7 @@ struct InsertionSubtable protected: StateTable machine; - OffsetTo, HBUINT, false> + NNOffsetTo, HBUINT> insertionAction; /* Byte offset from stateHeader to the start of * the insertion glyph table. */ public: