From: handa Date: Wed, 1 Sep 2010 06:29:36 +0000 (+0000) Subject: (compose_glyph_string): When the script `inherited' and X-Git-Tag: REL-1-6-2~30 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15a6499fb848caba6a48d2051f868d0844fbc88e;p=m17n%2Fm17n-lib.git (compose_glyph_string): When the script `inherited' and `common' can't be resolved, use "block" property of the character. --- diff --git a/src/draw.c b/src/draw.c index 5025759..f5b23cf 100644 --- a/src/draw.c +++ b/src/draw.c @@ -483,6 +483,8 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to, break; } } + if (this_script == Minherited || this_script == Mcommon) + this_script = (MSymbol) mchar_get_prop (c, Mblock); } pos = g->g.from;