From 15a6499fb848caba6a48d2051f868d0844fbc88e Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 1 Sep 2010 06:29:36 +0000 Subject: [PATCH] (compose_glyph_string): When the script `inherited' and `common' can't be resolved, use "block" property of the character. --- src/draw.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 1.7.10.4