From fc38e6034c76d5450f5398d667184bc3696efcc4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 23 Dec 2015 14:50:53 +0100 Subject: [PATCH] [layout] Collect coverage glyphs in PairPos Apparently class=0 is used for ClassDef1. See: https://github.com/adobe-type-tools/afdko/issues/90 --- src/hb-ot-layout-gpos-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 8bb91071..5ea70fbb 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -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; -- GitLab