From 4ee1263adcd6297c31cd7dc3d0cecc88e7ad86db Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 9 Nov 2005 12:37:39 +0000 Subject: [PATCH] (compose_glyph_string): Update prev->rface->rfont if the glyph prev is also supported by the current flt. --- src/draw.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 1.7.10.4