[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sat Feb 10 19:35:31 UTC 2018


 src/hb-aat-layout-morx-table.hh |    8 ++++++++
 1 file changed, 8 insertions(+)

New commits:
commit 91519c6a5b130ced569cedc3710ab395b663240d
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sat Feb 10 13:35:17 2018 -0600

    [aat] Add buffer messages

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);
     }
   }


More information about the HarfBuzz mailing list