[kerx] More minor
This commit is contained in:
parent
f8c3df7d4a
commit
8e9f6cd0fd
|
@ -859,7 +859,7 @@ struct kerx
|
||||||
inline void apply (hb_aat_apply_context_t *c) const
|
inline void apply (hb_aat_apply_context_t *c) const
|
||||||
{
|
{
|
||||||
c->set_lookup_index (0);
|
c->set_lookup_index (0);
|
||||||
const KerxSubTable *st = &firstTable;
|
const KerxSubTable *st = &firstSubTable;
|
||||||
unsigned int count = tableCount;
|
unsigned int count = tableCount;
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
|
@ -902,7 +902,7 @@ struct kerx
|
||||||
if (!version.sanitize (c) || version < minVersion || !tableCount.sanitize (c))
|
if (!version.sanitize (c) || version < minVersion || !tableCount.sanitize (c))
|
||||||
return_trace (false);
|
return_trace (false);
|
||||||
|
|
||||||
const KerxSubTable *st = &firstTable;
|
const KerxSubTable *st = &firstSubTable;
|
||||||
unsigned int count = tableCount;
|
unsigned int count = tableCount;
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
|
@ -920,8 +920,7 @@ struct kerx
|
||||||
HBUINT16 unused; /* Set to 0. */
|
HBUINT16 unused; /* Set to 0. */
|
||||||
HBUINT32 tableCount; /* The number of subtables included in the extended kerning
|
HBUINT32 tableCount; /* The number of subtables included in the extended kerning
|
||||||
* table. */
|
* table. */
|
||||||
KerxSubTable firstTable; /* Subtables. */
|
KerxSubTable firstSubTable; /* Subtables. */
|
||||||
UnsizedArrayOf<HBUINT8> dataZ;
|
|
||||||
/*subtableGlyphCoverageArray*/ /* Only if version >= 3. We don't use. */
|
/*subtableGlyphCoverageArray*/ /* Only if version >= 3. We don't use. */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue