[Tizen] Fix multiline text size issue in label 11/288611/1 accepted/tizen/7.0/unified/20230223.015618
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 09:35:49 +0000 (18:35 +0900)
commitaa00196040c107a5b83d3375e6afda68cfb9731e
tree1492867636b937b266a1e4afdda13ea662c46771
parentfd7821d8435f0adbbb82a924f19442bf19a79366
[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/controller/text-controller-relayouter.cpp