Fix character direction logic 55/298855/3
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 14 Sep 2023 07:39:00 +0000 (16:39 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Thu, 14 Sep 2023 07:56:32 +0000 (16:56 +0900)
commit938ef7d29b990b0b878035c1931f0126ac1f523b
tree94060cb448f4d6a3d0c9091dc623239c2b5430ac
parent7c80b2f421faf3500791795343c5d9a947906f03
Fix character direction logic

Replace fribidi_get_par_embedding_levels()
with fribidi_get_par_embedding_levels_ex().

This can include bracket information to find a better bidi embedding level.
And now we use this embedding level to determine the character direction.

Change-Id: I5ce0d4942f4d7b3fd412921bc15aa5d1882769fa
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali/internal/text/text-abstraction/bidirectional-support-impl.cpp