inset = 0;
if (fmt->font.font)
inset = c->ENFN->font_inset_get(c->ENDT, fmt->font.font,
- ti->text);
+ ti->text);
ti->inset = inset;
ti->parent.x = c->x;
adv = 0;
&x, &y, &w, &h);
}
- x += ln->x + _ITEM(ti)->x - ti->inset;
+ x += ln->x + _ITEM(ti)->x;
if (x < ln->x)
{
yoff = (ti->format->valign * (double)(ln->h - ti->parent.h)) + ti->baseline; \
if (clip) \
{ \
- if ((obj->cur.geometry.x + x + ln->x + ti->parent.x - ti->inset + ti->parent.w) < (cx - 20)) \
+ if ((obj->cur.geometry.x + x + ln->x + ti->parent.x + ti->parent.w) < (cx - 20)) \
continue; \
- if ((obj->cur.geometry.x + x + ln->x + ti->parent.x - ti->inset) > (cx + cw + 20)) \
+ if ((obj->cur.geometry.x + x + ln->x + ti->parent.x) > (cx + cw + 20)) \
break; \
} \
} \
(obj->cur.cache.clip.a * ti->format->color.col.a * (amul)) / 65025);
#define DRAW_TEXT(ox, oy) \
if (ti->format->font.font) ENFN->font_draw(output, context, surface, ti->format->font.font, \
- obj->cur.geometry.x + ln->x + ti->parent.x - ti->inset + x + (ox), \
+ obj->cur.geometry.x + ln->x + ti->parent.x + x + (ox), \
obj->cur.geometry.y + ln->y + yoff + y + (oy), \
ti->parent.w, ti->parent.h, ti->parent.w, ti->parent.h, ti->text, &ti->parent.bidi_props);
#define ITEM_WALK_LINE_SKIP_DROP() \