[NUI] Add Font PreCache API to FontClient
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 27 Mar 2023 02:12:07 +0000 (11:12 +0900)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Tue, 28 Mar 2023 09:49:22 +0000 (18:49 +0900)
commit1fd206dbade676ad9e8d085c1ce18f619f81b8fc
tree323ae9c8fe0004bb335d0211fd315fff2c03d496
parent022decb830d726c0de9a57fab4eb8f977aab2e25
[NUI] Add Font PreCache API to FontClient

This patch adds a new PreCache 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, during the early stages of boot-up.

Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
src/Tizen.NUI/src/internal/Interop/Interop.FontClient.cs
src/Tizen.NUI/src/public/Utility/FontClient.cs