summaryrefslogtreecommitdiff
path: root/src/hb-aat-layout-morx-table.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2018-02-10 13:35:17 -0600
committerBehdad Esfahbod <behdad@behdad.org>2018-02-10 13:35:17 -0600
commit91519c6a5b130ced569cedc3710ab395b663240d (patch)
treee88548f06ae21f4cb66635e09e80708ea0a5c399 /src/hb-aat-layout-morx-table.hh
parentaf274507c4f4c5a582543affa71d81a87d6d9151 (diff)
[aat] Add buffer messages
Diffstat (limited to 'src/hb-aat-layout-morx-table.hh')
-rw-r--r--src/hb-aat-layout-morx-table.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh
index fc834ebf..2bb80891 100644
--- a/src/hb-aat-layout-morx-table.hh
+++ b/src/hb-aat-layout-morx-table.hh
@@ -614,9 +614,17 @@ struct Chain
unsigned int count = subtableCount;
for (unsigned int i = 0; i < count; i++)
{
+ if (!c->buffer->message (c->font, "start chain subtable %d", c->lookup_index))
+ {
+ c->set_lookup_index (c->lookup_index + 1);
+ continue;
+ }
+
subtable->apply (c);
subtable = &StructAfter<ChainSubtable> (*subtable);
+ (void) c->buffer->message (c->font, "end chain subtable %d", c->lookup_index);
+
c->set_lookup_index (c->lookup_index + 1);
}
}