[ankr] Start fixing

pull/1238/head
Behdad Esfahbod 6 years ago
parent 34caadc5c7
commit 7281cb3eeb
  1. 9
      src/hb-aat-layout-ankr-table.hh

@ -60,17 +60,16 @@ struct ankr
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (likely (c->check_struct (this) && return_trace (likely (c->check_struct (this) &&
version == 0 && version == 0 &&
lookupTable.sanitize (c, this) && lookupTable.sanitize (c, this)));
anchors.sanitize (c, this)));
} }
protected: protected:
HBUINT16 version; /* Version number (set to zero) */ HBUINT16 version; /* Version number (set to zero) */
HBUINT16 flags; /* Flags (currently unused; set to zero) */ HBUINT16 flags; /* Flags (currently unused; set to zero) */
LOffsetTo<Lookup<HBUINT16> > LOffsetTo<Lookup<Offset<HBUINT16, false> > >
lookupTable; /* Offset to the table's lookup table */ lookupTable; /* Offset to the table's lookup table */
LOffsetTo<LArrayOf<Anchor> > LOffsetTo<HBUINT8>
anchors; /* Offset to the glyph data table */ anchorData; /* Offset to the glyph data table */
public: public:
DEFINE_SIZE_STATIC (12); DEFINE_SIZE_STATIC (12);

Loading…
Cancel
Save