{
int endx;
- printf(" %p->%p\n", it, it->format->font.font);
if (it->format->font.font)
it->baseline = c->ENFN->font_max_ascent_get(c->ENDT, it->format->font.font);
_layout_format_ascent_descent_adjust(c, it->format);
c->ln->y = c->y + c->o->style_pad.t;
c->ln->h = c->maxascent + c->maxdescent;
c->ln->baseline = c->maxascent;
- printf(" %p: %i %i %i\n", c->ln, c->ln->y, c->ln->h, c->ln->baseline);
if (c->have_underline2)
{
if (c->maxdescent < 4) c->underline_extend = 4 - c->maxdescent;
}
EINA_INLIST_FOREACH(c->lines, ln)
{
- printf("%i - %p\n", ln->line_no, ln);
if (ln->line_no == -1)
{
- printf("remove line! %p\n", ln);
removes = eina_list_append(removes, ln);
}
else
_line_free(obj, ln);
}
- printf(" max: %ix%i\n", c->wmax, c->hmax);
-
if (w_ret) *w_ret = c->wmax;
if (h_ret) *h_ret = c->hmax;
if ((o->style_pad.l != style_pad_l) || (o->style_pad.r != style_pad_r) ||
index = evas_common_font_utf8_get_last((unsigned char *)it->text, strlen(it->text));
if ((index >= 0) && (it->text[0] != 0))
evas_common_font_utf8_get_next((unsigned char *)(it->text), &index);
- printf("%i+%i\n", cur->pos, index);
if (index >= 0) cur->pos += index;
}
else if (fi)
o->nodes = (Evas_Object_Textblock_Node *)eina_inlist_prepend(EINA_INLIST_GET(o->nodes), EINA_INLIST_GET(n));
}
cur->node = n;
- printf("ins '%s' in '%s' @ %i/%i @c: '%c'\n",
- text,
- eina_strbuf_string_get(n->text),
- cur->pos,
- (eina_strbuf_length_get(n->text) - 1),
- eina_strbuf_string_get(n->text)[cur->pos]
- );
if (cur->pos > (eina_strbuf_length_get(n->text) - 1))
{
- printf("apnd\n");
eina_strbuf_append(n->text, (char *)text);
}
else
{
- printf("ins\n");
eina_strbuf_insert(n->text, (char *)text, cur->pos);
}
cur->pos += strlen(text);