[Tizen] Fix multiline text size issue in label 86/288686/1
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 21 Feb 2023 07:16:43 +0000 (16:16 +0900)
commite78e05429801da71bc575a0c265550813b46273f
treefd184b892a324bbffc1080e16c38f7b4341003cc
parentaffa9ff543493a0ac4f88afaa89f88776fa3d0ff
[Tizen] Fix multiline text size issue in label

When font validation in the relayout process, if text update info is initialized,
font data should be cleared before UpdateModel() to ensure the number of characters removed and added.
Without this condition, incorrect text updates will occur due to incorrect number of characters.

Change-Id: Ic0a56dc355b746b2e718aa87ae61c507ade427b5
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
automated-tests/src/dali-toolkit-internal/utc-Dali-Text-Controller.cpp
dali-toolkit/internal/text/text-controller-relayouter.cpp