(lookup_gpos): For LooupType 5, fix finding a base/ligature glyph.
authorhanda <handa>
Tue, 7 Sep 2004 08:56:39 +0000 (08:56 +0000)
committerhanda <handa>
Tue, 7 Sep 2004 08:56:39 +0000 (08:56 +0000)
src/otfdrive.c

index c23ac74..c969cd9 100644 (file)
@@ -907,7 +907,7 @@ lookup_gpos (OTF_LookupList *lookup_list, unsigned lookup_list_index,
              for (ligg = g - 1;
                   (ligg >= gstring->glyphs
                    && (IGNORED_GLYPH (ligg, flag)
-                       || ligg->GlyphClass >= OTF_GlyphClassLigature));
+                       || ligg->GlyphClass > OTF_GlyphClassLigature));
                   ligg--)
                if (ligg->positioning_type == 5
                    && ligg->MarkAttachClass < mark_lig1->ClassCount)