Fix ellipsis cache issue 69/303469/3
authorBowon Ryu <bowon.ryu@samsung.com>
Thu, 28 Dec 2023 06:11:40 +0000 (15:11 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Mon, 8 Jan 2024 03:54:14 +0000 (12:54 +0900)
commitf7c5d3950d37d1ba04020dd2b4b44a74e60b7dd3
tree44c33637e8711f0e4ad9ebe5060aaab316c32414
parent56c1e96e6210a3530866d262139f574af21c33b7
Fix ellipsis cache issue

If an ellipsis cache is not found in the mEllipsisCache,
the ellipsisCacheIndex value will always be zero.

This zero value is then stored in the item.index,
which is used to access the mEllipsisCache.

As a result, even if an ellipsis cache exists,
only the cache at index 0 is always used,
so an ellipsis glyph with a different font size from the actual font size may be rendered.

Change-Id: Iee15f1e320fd3f8ba73e035477ed13d7e49ee0ef
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
dali/internal/text/text-abstraction/plugin/font-client-plugin-impl.cpp