From f4bc0706f434ece097cc547ca47233eaeb5bc74c Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 7 Sep 2004 08:56:39 +0000 Subject: [PATCH] (lookup_gpos): For LooupType 5, fix finding a base/ligature glyph. --- src/otfdrive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 1.7.10.4