(lookup_gpos): Add support for LookupType 5.
authorhanda <handa>
Thu, 5 Aug 2004 07:11:00 +0000 (07:11 +0000)
committerhanda <handa>
Thu, 5 Aug 2004 07:11:00 +0000 (07:11 +0000)
Fix handling of flag.
(gstring_subst): Fix previous change.

src/otfdrive.c

index c8138ac..fbb5112 100644 (file)
@@ -74,7 +74,7 @@ gstring_subst (OTF_GlyphString *gstring, int from, int to, int flag,
 
        memmove (gstring->glyphs + i, gstring->glyphs + i + 1,
                 sizeof (OTF_Glyph) * (non_ignored_idx - i));
-       non_ignored_idx--;
+       gstring->glyphs[non_ignored_idx--] = temp;
        len--;
       }