From: handa Date: Mon, 6 Sep 2004 23:48:54 +0000 (+0000) Subject: (layout_glyphs): If a glyph of width zero is found in r2l X-Git-Tag: REL-1-2-0~203 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=7e1c6477516af4dd5ec76f322b4a0d16c4a19ff6;p=m17n%2Fm17n-lib.git (layout_glyphs): If a glyph of width zero is found in r2l level, reorder it so that it follows a base glyph. --- 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;