Fix multiline text size issue in label 81/288581/4
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Feb 2023 06:38:25 +0000 (15:38 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 20 Feb 2023 08:10:37 +0000 (17:10 +0900)
commit0cb9c3ad5c6d497c1d53d49d05c52c695c9e0f85
treedbeaad9f5c45868920964207ac7fc2a7692d777d
parente0fd225ed0d09d7b02ff1bb7732ae48b00913340
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/controller/text-controller-relayouter.cpp