(lookup_gpos): Ignore mark glyphs while
authorhanda <handa>
Thu, 6 Sep 2007 04:07:20 +0000 (04:07 +0000)
committerhanda <handa>
Thu, 6 Sep 2007 04:07:20 +0000 (04:07 +0000)
processing GPOS_MarkBase1.

src/otfdrive.c

index 73ed66f..794438d 100644 (file)
@@ -896,9 +896,10 @@ lookup_gpos (OTF_LookupList *lookup_list, unsigned lookup_list_index,
              OTF_AnchorRecord *base_record;
              OTF_Glyph *baseg;
              int coverage_idx_base;
+             unsigned int this_flag = flag | OTF_IgnoreMarks;
 
              for (baseg = g - 1;
-                  baseg >= gstring->glyphs && IGNORED_GLYPH (baseg, flag);
+                  baseg >= gstring->glyphs && IGNORED_GLYPH (baseg, this_flag);
                   baseg--);
              if (baseg < gstring->glyphs)
                continue;