From: handa Date: Thu, 5 Aug 2004 08:34:27 +0000 (+0000) Subject: (mfont__ft_drive_otf): Fix previous change. X-Git-Tag: REL-1-1-0~35 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b5b55e1dba94e5da7d8f1bec2e26663a5c86ee5;p=m17n%2Fm17n-lib.git (mfont__ft_drive_otf): Fix previous change. --- diff --git a/src/font-ft.c b/src/font-ft.c index f40d383..426bc4f 100644 --- a/src/font-ft.c +++ b/src/font-ft.c @@ -1106,7 +1106,12 @@ mfont__ft_drive_otf (MGlyphString *gstring, int from, int to, /* Not yet supported. */ break; } - prev = g; + if (g->GlyphClass == OTF_GlyphClass0) + base = mark = g; + else if (g->GlyphClass == OTF_GlyphMark) + mark = g; + else + base = g; } } return to;