evas textblock: add align=locale option to respect locale's direction 76/136276/2
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 13 Jun 2017 10:15:12 +0000 (13:15 +0300)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 3 Jul 2017 04:04:05 +0000 (04:04 +0000)
commit91f8d50903d240edcb88450ac44ee6f2ba3c0e84
treeeed2ff42d327cd0bdd95ce5dd05eaf12fa7a0d26
parent7e5d80677367fee932e6f025cf3c11c8c158e83c
evas textblock: add align=locale option to respect locale's direction

Summary:
There are many requests to add a new feature for handling horizontal align
according to current locale. For example, in RTL locale setting,
users want to see right aligned text for every list's item.
Even if some of list's items only contain LTR characters!
It is useful for the needs.
@feature

Test Plan: N/A

Reviewers: herdsman, tasn, woohyun, raster, cedric

Reviewed By: herdsman, raster

Subscribers: z-wony, jpeg

Differential Revision: https://phab.enlightenment.org/D4664

Change-Id: I23cff606706d421e1f5388875b4062ce112d2e2e
src/lib/evas/Evas_Common.h
src/lib/evas/canvas/evas_main.c
src/lib/evas/canvas/evas_object_textblock.c
src/lib/evas/common/language/evas_language_utils.c
src/lib/evas/common/language/evas_language_utils.h