From: Cedric Bail Date: Mon, 4 Nov 2013 06:28:16 +0000 (+0900) Subject: evas: force complete items rebuild on evas_object_font_font_set. X-Git-Tag: v1.8.0-alpha1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d54ae83bf84854291949b5802f361851fbf5977;p=platform%2Fupstream%2Fefl.git evas: force complete items rebuild on evas_object_font_font_set. --- diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c index dd16e21..d345322 100644 --- a/src/lib/evas/canvas/evas_object_text.c +++ b/src/lib/evas/canvas/evas_object_text.c @@ -488,6 +488,7 @@ _text_font_set(Eo *eo_obj, void *_pd, va_list *list) o->max_ascent = 0; o->max_descent = 0; } + _evas_object_text_items_clear(o); _evas_object_text_recalc(eo_obj, o->cur.text); o->changed = 1; evas_object_change(eo_obj, obj);