run_otf (int depth,
MFLTOtfSpec *otf_spec, int from, int to, FontLayoutContext *ctx)
{
-#ifdef HAVE_OTF
MFLTFont *font = ctx->font;
int from_idx = ctx->out->used;
MFLTGlyphAdjustment *adjustment;
MFLTGlyph *g = GREF (ctx->out, from_idx);
UPDATE_CLUSTER_RANGE (ctx, g);
}
-#endif
return to;
}
int orig_from = from, orig_to = to;
int from_pos, to_pos, len;
int i, j;
+ MFLTGlyph *g;
from_pos = GREF (ctx->in, from)->from;
to_pos = GREF (ctx->in, to - 1)->to;
if (MDEBUG_FLAG () > 2)
{
- MDEBUG_PRINT2 ("\n [FLT] (STAGE %d \"%s\"", stage_idx, ctx->encoded);
+ MDEBUG_PRINT2 ("\n [FLT] (STAGE %d \"%s\"", stage_idx,
+ ctx->encoded);
MDEBUG_PRINT (" (");
for (i = from; i < to; i++)
- MDEBUG_PRINT3 ("%*s%04X", (i > 0), "", GREF (ctx->in, i)->code);
+ {
+ g = GREF (ctx->in, i);
+ if (g->c == -1)
+ MDEBUG_PRINT2 ("%*s|", (i > 0), "");
+ else
+ MDEBUG_PRINT3 ("%*s%04X", (i > 0), "", GREF (ctx->in, i)->code);
+ }
MDEBUG_PRINT (")");
}
result = run_command (4, INDEX_TO_CMD_ID (0), from, to, ctx);
if (ctx->out->used > 0)
{
- MFLTGlyph *g;
int *g_indices;
int x_ppem = ctx->font->x_ppem << 6, y_ppem = ctx->font->y_ppem << 6;