Revert "evas text: fixed the text cut issue when an effect is applied" 80/91380/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 7 Oct 2016 07:53:43 +0000 (16:53 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Fri, 7 Oct 2016 07:55:12 +0000 (16:55 +0900)
This reverts commit e0ef2fb722d8e256709f7f0f2cc097c4bfc97add.

Change-Id: I5afec6d9d79da05e435bf82f4217a77a3812a443

src/lib/evas/canvas/evas_object_text.c

index 019a633..b35bacd 100644 (file)
@@ -2295,7 +2295,7 @@ _evas_object_text_recalc(Evas_Object *eo_obj, Eina_Unicode *text)
              /* TIZEN_ONLY(20160305): Remove a whitespcae from the right end of ellipsized RTL text
              min = w + l + r < obj->cur->geometry.w || obj->cur->geometry.w == 0 ? w + l + r : obj->cur->geometry.w;
               */
-             min = w + l + r < obj->cur->geometry.w || obj->cur->geometry.w == 0 ? w + l + r : _evas_object_text_horiz_advance_get(o) + l + r;
+             min = w + l + r < obj->cur->geometry.w || obj->cur->geometry.w == 0 ? w + l + r : _evas_object_text_horiz_advance_get(o);
              /* END */
              eo_do_super(eo_obj, MY_CLASS,
                          efl_gfx_size_set(min, h + t + b));