[aat/ankr] Hook up Lookup table

This commit is contained in:
Behdad Esfahbod 2018-02-26 01:03:23 -08:00
parent c36598450e
commit f90cd9b1f5
1 changed files with 2 additions and 2 deletions

View File

@ -45,14 +45,14 @@ struct ankr
{ {
TRACE_SANITIZE (this); TRACE_SANITIZE (this);
return_trace (c->check_struct (this) && version == 0 && return_trace (c->check_struct (this) && version == 0 &&
/* XXX lookupTable */ lookupTable.sanitize (c, this) &&
anchors.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<const void*> lookupTable; /* Offset to the table's lookup table */ LOffsetTo<Lookup<HBUINT16> > lookupTable; /* Offset to the table's lookup table */
LOffsetTo<ArrayOf<HBUINT32, HBUINT32> > LOffsetTo<ArrayOf<HBUINT32, HBUINT32> >
anchors; /* Offset to the glyph data table */ anchors; /* Offset to the glyph data table */