Fix for bidirectional support. 68/58668/3
authorVictor Cebollada <v.cebollada@samsung.com>
Mon, 25 Jan 2016 10:52:18 +0000 (10:52 +0000)
committerVíctor Cebollada <v.cebollada@samsung.com>
Wed, 3 Feb 2016 13:52:55 +0000 (05:52 -0800)
commit91c1b3ac611e3c12ddb931d6cb88cf81417d7b41
tree80bc08ae09b4f601c9f521fa8991e6b0d39d55da
parent13a3032c8a4eecee3aa4ba7bcc676bb048c4a94d
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/58772/

Change-Id: Id7ed384560cbdee9e14f3e1ae2d29f029488f4b9
Signed-off-by: Victor Cebollada <v.cebollada@samsung.com>
text/dali/devel-api/text-abstraction/bidirectional-support.cpp
text/dali/devel-api/text-abstraction/bidirectional-support.h
text/dali/internal/text-abstraction/bidirectional-support-impl.cpp
text/dali/internal/text-abstraction/bidirectional-support-impl.h
text/dali/internal/text-abstraction/font-client-plugin-impl.cpp