Adjust text fit condition 43/281643/1
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 20 Sep 2022 06:29:01 +0000 (15:29 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 20 Sep 2022 06:40:20 +0000 (15:40 +0900)
commit52b3a0d3057c239c2ca75321864d687d09a9f01f
treef012de3a972c447821a685ea190de16ed77d9c17
parentc3fca0844bdad8df8008e23b08ddbf409f9932c2
Adjust text fit condition

If the calculated text size and layout size are the same in the text fit case,
there is an issue of ellisis processing due to the influence of some glyph's advance.
So in most cases the layout needs a bit larger size.
This patch adds a condition to prevent this issue.

Change-Id: I4592c8741d19cce6d33474288d55957a3944149d
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali-toolkit/internal/text/controller/text-controller-relayouter.cpp