From: Behdad Esfahbod Date: Wed, 23 Dec 2015 13:50:53 +0000 (+0100) Subject: [layout] Collect coverage glyphs in PairPos X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc38e6034c76d5450f5398d667184bc3696efcc4;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [layout] Collect coverage glyphs in PairPos Apparently class=0 is used for ClassDef1. See: https://github.com/adobe-type-tools/afdko/issues/90 --- diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 8bb9107..5ea70fb 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;