for (i = 0; from < to; from++, i++)
{
MGlyph *g;
+ int width, xoff, yoff;
if (i > 0 && i % 4 == 0)
MDEBUG_PRINT ("\n [FLT] ");
g = MGLYPH (from);
- MDEBUG_PRINT4 (" (%04X %d %d %d)",
- g->code, g->width, g->xoff, g->yoff);
+ width = g->width, xoff = g->xoff, yoff = g->yoff;
+ if (g->right_padding && g->rbearing > g->width)
+ width = g->rbearing;
+ if (g->left_padding && g->lbearing < 0)
+ {
+ width += - g->lbearing;
+ xoff += - g->lbearing;
+ }
+ MDEBUG_PRINT4 (" (%04X %d %d %d)", g->code, width, xoff, yoff);
}
else
for (; from < to; from++)