From 6b600b45ae2e54c5bed03fa9c1dd5ceebc472b08 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 6 Sep 2007 04:07:20 +0000 Subject: [PATCH] (lookup_gpos): Ignore mark glyphs while processing GPOS_MarkBase1. --- src/otfdrive.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 1.7.10.4