Fix for bidirectional support. 72/58772/2
authorVictor Cebollada <v.cebollada@samsung.com>
Wed, 3 Feb 2016 09:15:09 +0000 (09:15 +0000)
committerVíctor Cebollada <v.cebollada@samsung.com>
Wed, 3 Feb 2016 13:53:17 +0000 (05:53 -0800)
commit0c9dab5dd792a612565ff091d797eb491db031a5
tree903f7e91322dc5889920fd3de490cc35ba897f3b
parent602711f643eed100940eb0b54c1dacacce2ae27e
Fix for bidirectional support.

-Use the character's direction to know whether to mirror it.

This patches fix a 'mirroring' issue when there is bidirectional text.
i.e if RTL text is added to the string "(Hello world)", the text controller
replaces (mirror) the parenthesis getting the string ")Hello world( RTL_text"

It needs https://review.tizen.org/gerrit/#/c/58668/

Change-Id: If4210aa15d516a4688cd1c79aef7fb714e5f8f69
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
dali-toolkit/internal/text/bidirectional-support.cpp
dali-toolkit/internal/text/bidirectional-support.h
dali-toolkit/internal/text/text-controller-impl.cpp