Evas Textblock: Fix ellipsis when textblock is resized to formatted h.
authorYoungbok Shin <youngb.shin@samsung.com>
Mon, 4 Jan 2016 15:00:56 +0000 (15:00 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 4 Jan 2016 15:12:10 +0000 (15:12 +0000)
commit3252e3bf78881cf03729737cd8fd2b0c746e512d
tree98d6680e4f74f78727108ffa620c638448204ca1
parentb3dc27345a59dc21b115fe55bb15e7af092eacbe
Evas Textblock: Fix ellipsis when textblock is resized to formatted h.

Summary:
it->h is sum of max ascent and max descent. It shouldn't be used
when handle ellipsis. Because, Evas Textblock uses these values for
each lines differently according to its location.
(start, end, else, single)
So, for handling ellipsis exactly, it has to be fixed.

Test Plan: A test case is included in Evas Test suite.

Reviewers: woohyun, tasn, herdsman

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3475
src/lib/evas/canvas/evas_object_textblock.c
src/tests/evas/evas_test_textblock.c