int i, j;
MFLTGlyph *g;
MPlist *stages = flt->stages;
+ FontLayoutCategory *prev_category = NULL;
from_pos = GREF (ctx->in, from)->from;
to_pos = GREF (ctx->in, to - 1)->to;
MFLTGlyph *g = GREF (ctx->in, i);
char enc;
- if (GET_COMBINED (g))
+ if (GET_COMBINED (g) || prev_category != ctx->stage->category)
enc = (GET_ENCODED (g)
? (g->c > 0 ? (int) mchartable_lookup (table, g->c) : 1)
: g->code
break;
/* Otherwise, prepare for the next stage. */
+ prev_category = ctx->stage->category;
temp = ctx->in;
ctx->in = ctx->out;
if (buf.glyphs)
if (flt->need_config && font_id != Mnil)
flt = configure_flt (flt, font, font_id);
+#if 0
for (; this_to < to; this_to++)
{
char enc;
break;
SET_CATEGORY_CODE (g, enc);
}
+#endif
if (MDEBUG_FLAG ())
{