[NUI] Add Font PreCache API to FontClient
authorBowon Ryu <bowon.ryu@samsung.com>
Mon, 27 Mar 2023 02:12:07 +0000 (11:12 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Fri, 31 Mar 2023 03:57:58 +0000 (12:57 +0900)
commitaf076c193ec614ebe235d325c1a838a2e0e00135
tree4aa8a2d2d661071928a5f9b96917d0013c8365fa
parent6fa6bd57b5e01dbfb60dac1b05f41999fb287e63
[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