From: handa Date: Thu, 6 Sep 2007 04:07:20 +0000 (+0000) Subject: (lookup_gpos): Ignore mark glyphs while X-Git-Tag: REL-0-9-7~7 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b600b45ae2e54c5bed03fa9c1dd5ceebc472b08;p=m17n%2Flibotf.git (lookup_gpos): Ignore mark glyphs while processing GPOS_MarkBase1. --- diff --git a/src/otfdrive.c b/src/otfdrive.c index 73ed66f..794438d 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -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;