From 5b5b55e1dba94e5da7d8f1bec2e26663a5c86ee5 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 5 Aug 2004 08:34:27 +0000 Subject: [PATCH] (mfont__ft_drive_otf): Fix previous change. --- src/font-ft.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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; -- 1.7.10.4