(compose_glyph_string): Fix previous change.
authorhanda <handa>
Thu, 6 May 2004 12:08:11 +0000 (12:08 +0000)
committerhanda <handa>
Thu, 6 May 2004 12:08:11 +0000 (12:08 +0000)
src/draw.c

index 87b3f59..348e365 100644 (file)
@@ -395,7 +395,10 @@ compose_glyph_string (MFrame *frame, MText *mt, int from, int to,
                                != MCHAR_INVALID_CODE))));
                   i++, g++)
                if (g->rface->rfont != this->rface->rfont)
-                 g->code = code;
+                 {
+                   g->rface->rfont = this->rface->rfont;
+                   g->code = code;
+                 }
              i = mfont__flt_run (gstring, start, i, this->rface);
            }
          else