From: tasn Date: Sun, 17 Jul 2011 13:42:55 +0000 (+0000) Subject: Evas textblock: Adjusted textblock_item_text struct fields. X-Git-Tag: accepted/2.0/20130306.225542~242^2~251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c4c71e12426f88f16fd283430f6335a9000f0a2;p=profile%2Fivi%2Fevas.git Evas textblock: Adjusted textblock_item_text struct fields. Removed the unused per-item baseline and changed inset to Evas_Coord. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/canvas/evas_object_textblock.c b/src/lib/canvas/evas_object_textblock.c index 0002958..a3bf494 100644 --- a/src/lib/canvas/evas_object_textblock.c +++ b/src/lib/canvas/evas_object_textblock.c @@ -315,7 +315,7 @@ struct _Evas_Object_Textblock_Text_Item { Evas_Object_Textblock_Item parent; Evas_Text_Props text_props; - int inset, baseline; + Evas_Coord inset; Evas_Coord x_adjustment; /* Used to indicate by how much we adjusted sizes */ }; @@ -2410,8 +2410,6 @@ _layout_line_finalize(Ctxt *c, Evas_Object_Textblock_Format *fmt) if (it->type == EVAS_TEXTBLOCK_ITEM_TEXT) { Evas_Object_Textblock_Text_Item *ti = _ITEM_TEXT(it); - if (ti->parent.format->font.font) - ti->baseline = c->ENFN->font_max_ascent_get(c->ENDT, ti->parent.format->font.font); _layout_format_ascent_descent_adjust(c->obj, &c->maxascent, &c->maxdescent, ti->parent.format); }