textblock: correct text position for RTL text with margins
authorThiep Ha <thiep.ha@samsung.com>
Wed, 26 Nov 2014 08:18:49 +0000 (10:18 +0200)
committerDaniel Hirt <daniel.hirt@samsung.com>
Wed, 26 Nov 2014 08:18:49 +0000 (10:18 +0200)
commite9a40835f21cfd4a46da388158aca6b0cda650a7
treea98fe99463db24a145a931baed94851bd43c8c0b
parent795f9d6ce32c1e52b8f0b5b729ce391b1f32103d
textblock: correct text position for RTL text with margins

Summary:
If a RTL textblock has right margin, text is wrongly placed
(right margin is moved to left).
This patch fixes this issue.
Test cases are also added to test text position with margins.

@fix

Reviewers: tasn, herdsman

Subscribers: woohyun, cedric

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