evas: Fix Evas Object Text when LTR and RTL are used together. 17/8917/1
authorDaniel Zaoui <daniel.zaoui@samsung.com>
Sun, 7 Apr 2013 12:52:00 +0000 (15:52 +0300)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 11 Jun 2013 12:15:20 +0000 (21:15 +0900)
commit0cd34e54acada1b157e483b472cf20ae6664c568
treea262806a1cec565e4301cd4743305be90d9d4d92
parentb30fa8e827dfabf7454c335c7952ddc65cbb8325
evas: Fix Evas Object Text when LTR and RTL are used together.

When harfbuzz is enabled, RTL text (arabic, hebrew...) is displayed differently
if the paragraph begins with or without LTR.
The problem was related to the function evas_common_language_script_type_get
and a wrong offset given as parameter to this function.

Thanks to EunYoung Kim for having found this bug.

Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
Change-Id: I9e311e4af3f83709c7efe23408d5df295d670504
ChangeLog
NEWS
src/lib/canvas/evas_object_text.c