From: handa Date: Tue, 7 Sep 2004 08:56:39 +0000 (+0000) Subject: (lookup_gpos): For LooupType 5, fix finding a base/ligature glyph. X-Git-Tag: REL-0-9-5~110 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f4bc0706f434ece097cc547ca47233eaeb5bc74c;p=m17n%2Flibotf.git (lookup_gpos): For LooupType 5, fix finding a base/ligature glyph. --- diff --git a/src/otfdrive.c b/src/otfdrive.c index c23ac74..c969cd9 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -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)