projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
814f939
)
(layout_glyphs): If a glyph of width zero is found in r2l
author
handa
<handa>
Mon, 6 Sep 2004 23:48:54 +0000
(23:48 +0000)
committer
handa
<handa>
Mon, 6 Sep 2004 23:48:54 +0000
(23:48 +0000)
level, reorder it so that it follows a base glyph.
src/draw.c
patch
|
blob
|
history
diff --git
a/src/draw.c
b/src/draw.c
index
2407046
..
ffb7d3a
100644
(file)
--- 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;