(lookup_gsub): Fix handling of lookup type 6
authorhanda <handa>
Tue, 29 Jun 2004 04:33:52 +0000 (04:33 +0000)
committerhanda <handa>
Tue, 29 Jun 2004 04:33:52 +0000 (04:33 +0000)
format 3.

src/otfdrive.c

index 8afcd75..ff1245e 100644 (file)
@@ -602,7 +602,7 @@ lookup_gsub (OTF_LookupList *lookup_list, unsigned lookup_list_index,
              if (gidx < context3->BacktrackGlyphCount
                  || (gidx + context3->InputGlyphCount
                      + context3->LookaheadGlyphCount) > gstring->used)
-               return -1;
+               continue;
              if (match_chain_coverages (gstring, gidx, context3) < 0)
                continue;
              orig_used = gstring->used;