[layout] Collect coverage glyphs in PairPos
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 23 Dec 2015 13:50:53 +0000 (14:50 +0100)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 23 Dec 2015 13:50:53 +0000 (14:50 +0100)
Apparently class=0 is used for ClassDef1.  See:
https://github.com/adobe-type-tools/afdko/issues/90

src/hb-ot-layout-gpos-table.hh

index 8bb9107..5ea70fb 100644 (file)
@@ -742,7 +742,7 @@ struct PairPosFormat2
   inline void collect_glyphs (hb_collect_glyphs_context_t *c) const
   {
     TRACE_COLLECT_GLYPHS (this);
-    /* (this+coverage).add_coverage (c->input); // Don't need this. */
+    (this+coverage).add_coverage (c->input);
 
     unsigned int count1 = class1Count;
     const ClassDef &klass1 = this+classDef1;