From 8e9f6cd0fddd572e048487aae3141d3dbb1b99cb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 7 Nov 2018 12:49:20 -0500 Subject: [PATCH] [kerx] More minor --- src/hb-aat-layout-kerx-table.hh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/hb-aat-layout-kerx-table.hh b/src/hb-aat-layout-kerx-table.hh index 63638026..2bbd11aa 100644 --- a/src/hb-aat-layout-kerx-table.hh +++ b/src/hb-aat-layout-kerx-table.hh @@ -859,7 +859,7 @@ struct kerx inline void apply (hb_aat_apply_context_t *c) const { c->set_lookup_index (0); - const KerxSubTable *st = &firstTable; + const KerxSubTable *st = &firstSubTable; unsigned int count = tableCount; for (unsigned int i = 0; i < count; i++) { @@ -902,7 +902,7 @@ struct kerx if (!version.sanitize (c) || version < minVersion || !tableCount.sanitize (c)) return_trace (false); - const KerxSubTable *st = &firstTable; + const KerxSubTable *st = &firstSubTable; unsigned int count = tableCount; for (unsigned int i = 0; i < count; i++) { @@ -920,8 +920,7 @@ struct kerx HBUINT16 unused; /* Set to 0. */ HBUINT32 tableCount; /* The number of subtables included in the extended kerning * table. */ - KerxSubTable firstTable; /* Subtables. */ - UnsizedArrayOf dataZ; + KerxSubTable firstSubTable; /* Subtables. */ /*subtableGlyphCoverageArray*/ /* Only if version >= 3. We don't use. */ public: -- GitLab