[Tizen] Add FontClientPreCache API to FontClient 42/290542/1 accepted/tizen/7.0/unified/20230330.014304
authorBowon Ryu <bowon.ryu@samsung.com>
Fri, 24 Mar 2023 02:30:02 +0000 (11:30 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 28 Mar 2023 09:24:13 +0000 (18:24 +0900)
commit95e20866bb507d2a398389a9537e94fda44f9d87
treecb0d0f56e2134141a50e70e17e8144f56311568e
parent345d8afdd3a269ea22a10a9979969ab5e6701a6c
[Tizen] Add FontClientPreCache API to FontClient

This patch adds a new FontClientPreCache API to enable pre-caching of fonts
and improve the runtime performance of the application.

Pre-caching default fonts and fallback lists can enhance the responsiveness performance
by minimizing the calls to FcFontSort and FcFontMatch, particularly during the early stages of boot-up.

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