From: handa Date: Wed, 9 Nov 2005 12:37:39 +0000 (+0000) Subject: (compose_glyph_string): Update prev->rface->rfont if the X-Git-Tag: REL-1-3-0~82 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4ee1263adcd6297c31cd7dc3d0cecc88e7ad86db;p=m17n%2Fm17n-lib.git (compose_glyph_string): Update prev->rface->rfont if the glyph prev is also supported by the current flt. --- diff --git a/src/draw.c b/src/draw.c index 671acc8..2e5d6b8 100644 --- a/src/draw.c +++ b/src/draw.c @@ -440,7 +440,11 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to, NULL, prev->c) != MCHAR_INVALID_CODE)); start--, prev--) - prev->code = code; + if (prev->rface->rfont != this->rface->rfont) + { + prev->rface->rfont = this->rface->rfont; + prev->code = code; + } for (g++; (g->type == GLYPH_CHAR