* Edje: When selected word exists, selection is cleared and cursor remains on the current entry by additional key input.
* Ecore-X: Fix selection parser to not overrun buffer read by using longs on 64bit.
* Evas: Fix recursive proxy image rendering to just render black
+ * Evas textblock: Fixed line size calculation when using multiple fonts.
&c->maxdescent, &fi->y, &fi->parent.w, &fi->parent.h);
fi->parent.adv = fi->parent.w;
}
+ else
+ {
+ Evas_Coord asc = 0, desc = 0;
+ _layout_item_ascent_descent_adjust(c->obj, &asc, &desc,
+ it, c->position);
+
+ if (asc > c->maxascent)
+ c->maxascent = asc;
+ if (desc > c->maxdescent)
+ c->maxdescent = desc;
+ }
loop_advance:
it->x = x;
if (it)
{
+ Evas_Coord asc = 0, desc = 0;
/* If there are no text items yet, calc ascent/descent
* according to the current format. */
- if (*ascent + *descent == 0)
- _layout_item_ascent_descent_adjust(eo_obj, ascent, descent,
- it, position);
+ _layout_item_ascent_descent_adjust(eo_obj, &asc, &desc,
+ it, position);
+
+ if (asc > *ascent)
+ *ascent = asc;
+ if (desc > *descent)
+ *descent = desc;
/* Add margins. */
if (it->format)