From 1a3fe6b80ed3077fd64c320024d466709428bbb9 Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 23 Jul 2004 06:53:42 +0000 Subject: [PATCH] (layout_glyphs): Call mfont__ft_drive_gpos with glyphs of the same bidi level. --- src/draw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); } } -- 1.7.10.4