I hate it that with my compiler at least, it doesn't catch totally uncompilable
statements in templates if they are not used...
entryTable; /* Offset to the entry array. */
public:
- DEFINE_SIZE_UNION (2, format);
+ DEFINE_SIZE_STATIC (16);
};
template <typename EntryData>
protected:
StateTable<void> machine;
public:
- DEFINE_SIZE_MIN (2);
+ DEFINE_SIZE_STATIC (16);
};
struct ContextualSubtable
OffsetTo<UnsizedOffsetListOf<Lookup<GlyphID>, HBUINT32>, HBUINT32>
substitutionTables;
public:
- DEFINE_SIZE_MIN (2);
+ DEFINE_SIZE_STATIC (20);
};
struct LigatureSubtable
InsertionSubtable insertion;
} u;
public:
- DEFINE_SIZE_MIN (2 * sizeof (HBUINT32) + 4);
+ DEFINE_SIZE_MIN (12);
};
struct Chain
// subtableGlyphCoverageArray if major == 3
public:
- DEFINE_SIZE_MIN (8 + 2 * sizeof (HBUINT32));
+ DEFINE_SIZE_MIN (16);
};