From: handa Date: Fri, 23 Jul 2004 06:53:42 +0000 (+0000) Subject: (layout_glyphs): Call mfont__ft_drive_gpos with glyphs of X-Git-Tag: REL-1-1-0~85 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a3fe6b80ed3077fd64c320024d466709428bbb9;p=m17n%2Fm17n-lib.git (layout_glyphs): Call mfont__ft_drive_gpos with glyphs of the same bidi level. --- diff --git a/src/draw.c b/src/draw.c index 35b7a66..11563eb 100644 --- a/src/draw.c +++ b/src/draw.c @@ -526,7 +526,9 @@ layout_glyphs (MFrame *frame, MGlyphString *gstring, int from, int to) if (base->otf_cmd) { - while (g < last_g && base->otf_cmd == g->otf_cmd) g++; + while (g < last_g && base->otf_cmd == g->otf_cmd + && base->bidi_level == g->bidi_level) + g++; mfont__ft_drive_gpos (gstring, GLYPH_INDEX (base), GLYPH_INDEX (g)); } }