[Tizen] Fix small font size text layout issue 97/305597/1
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 15 Jun 2023 05:56:36 +0000 (14:56 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 5 Feb 2024 08:40:51 +0000 (17:40 +0900)
commit049a4f09e28ed2997376a5014a47fd790977389c
tree5d84e8d485afbaf966e4b5bd548e5ecf2fb774a9
parent3b94b19dce5604b0511f6d57cc3843523fac3060
[Tizen] Fix small font size text layout issue

Previously, text always rounded down the advance to upload it in the pixel buffer.
but this caused a issue where certain glyphs appeared too close together
when the font size was very small.
Now, rounding the advance values for a more natural layout.

Change-Id: I35c3138c59e3cc8b9418ac448d256e83e33046b0
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali/internal/text/text-abstraction/plugin/font-face-cache-item.cpp