[aat/kerx] Improve format 6 subtable
This commit is contained in:
parent
b73a5a1c24
commit
71b4598ea3
|
@ -195,17 +195,21 @@ struct KerxSubTableFormat6
|
||||||
inline bool sanitize (hb_sanitize_context_t *c) const
|
inline bool sanitize (hb_sanitize_context_t *c) const
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (c->check_struct (this));
|
return_trace (c->check_struct (this) &&
|
||||||
|
rowIndexTable.sanitize (c, this) &&
|
||||||
|
columnIndexTable.sanitize (c, this) &&
|
||||||
|
kerningArray.sanitize (c, this) &&
|
||||||
|
kerningVector.sanitize (c, this));
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
HBUINT32 flags;
|
HBUINT32 flags;
|
||||||
HBUINT16 rowCount;
|
HBUINT16 rowCount;
|
||||||
HBUINT16 columnCount;
|
HBUINT16 columnCount;
|
||||||
HBUINT32 rowIndexTableOffset;
|
LOffsetTo<Lookup<HBUINT16> > rowIndexTable;
|
||||||
HBUINT32 columnIndexTableOffset;
|
LOffsetTo<Lookup<HBUINT16> > columnIndexTable;
|
||||||
HBUINT32 kerningArrayOffset;
|
LOffsetTo<Lookup<HBUINT16> > kerningArray;
|
||||||
HBUINT32 kerningVectorOffset;
|
LOffsetTo<Lookup<HBUINT16> > kerningVector;
|
||||||
public:
|
public:
|
||||||
DEFINE_SIZE_STATIC (24);
|
DEFINE_SIZE_STATIC (24);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue