From 7e1c6477516af4dd5ec76f322b4a0d16c4a19ff6 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 6 Sep 2004 23:48:54 +0000 Subject: [PATCH] (layout_glyphs): If a glyph of width zero is found in r2l level, reorder it so that it follows a base glyph. --- src/draw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/draw.c b/src/draw.c index 2407046..ffb7d3a 100644 --- a/src/draw.c +++ b/src/draw.c @@ -517,7 +517,8 @@ layout_glyphs (MFrame *frame, MGlyphString *gstring, int from, int to) { MGlyph *base = g++; - if (base->combining_code && (base->bidi_level % 2)) + if ((base->combining_code || base->width == 0) + && (base->bidi_level % 2)) { MGlyph *g1 = base, *g2, temp; -- 1.7.10.4