projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add LocaleChangedSignal
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
text
/
text-abstraction
/
font-client-impl.h
diff --git
a/dali/internal/text/text-abstraction/font-client-impl.h
b/dali/internal/text/text-abstraction/font-client-impl.h
index
5ad3a79
..
ff86fd9
100644
(file)
--- a/
dali/internal/text/text-abstraction/font-client-impl.h
+++ b/
dali/internal/text/text-abstraction/font-client-impl.h
@@
-66,26
+66,31
@@
public: // API for Dali::TextAbstraction::FontClient used.
/**
* @brief This is used to pre-cache FontConfig in order to improve the runtime performance of the application.
*
/**
* @brief This is used to pre-cache FontConfig in order to improve the runtime performance of the application.
*
- * @see Dali::TextAbstraction::FontClientPreCache(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily, bool useThread);
+ * @see Dali::TextAbstraction::FontClientPreCache(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily, bool useThread
, bool syncCreation
);
*/
*/
- static void PreCache(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily, bool useThread);
+ static void PreCache(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily, bool useThread
, bool syncCreation
);
/**
* @brief This is used to creates a global font client and pre-caches the FontConfig.
*/
/**
* @brief This is used to creates a global font client and pre-caches the FontConfig.
*/
- static void PreCacheRun(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily);
+ static void PreCacheRun(const FontFamilyList& fallbackFamilyList, const FontFamilyList& extraFamilyList, const FontFamily& localeFamily
, bool syncCreation
);
/**
* @brief This is used to pre-load FreeType font face in order to improve the runtime performance of the application.
*
/**
* @brief This is used to pre-load FreeType font face in order to improve the runtime performance of the application.
*
- * @see Dali::TextAbstraction:FontClientFontPreLoad(const FontPathList& fontPathList, const FontPathList& memoryFontPathList, bool useThread);
+ * @see Dali::TextAbstraction:FontClientFontPreLoad(const FontPathList& fontPathList, const FontPathList& memoryFontPathList, bool useThread
, bool syncCreation
);
*/
*/
- static void PreLoad(const FontPathList& fontPathList, const FontPathList& memoryFontPathList, bool useThread);
+ static void PreLoad(const FontPathList& fontPathList, const FontPathList& memoryFontPathList, bool useThread
, bool syncCreation
);
/**
* @brief This is used to creates a global font client and pre-loads the FreeType font face.
*/
/**
* @brief This is used to creates a global font client and pre-loads the FreeType font face.
*/
- static void PreLoadRun(const FontPathList& fontPathList, const FontPathList& memoryFontPathList);
+ static void PreLoadRun(const FontPathList& fontPathList, const FontPathList& memoryFontPathList, bool syncCreation);
+
+ /**
+ * @brief Joins font threads, waiting for their execution to complete.
+ */
+ static void JoinFontThreads();
/**
* @copydoc Dali::TextAbstraction::FontClient::ClearCache()
/**
* @copydoc Dali::TextAbstraction::FontClient::ClearCache()
@@
-93,6
+98,11
@@
public: // API for Dali::TextAbstraction::FontClient used.
void ClearCache();
/**
void ClearCache();
/**
+ * @copydoc Dali::TextAbstraction::FontClient::ClearCacheOnLocaleChanged()
+ */
+ void ClearCacheOnLocaleChanged();
+
+ /**
* @copydoc Dali::TextAbstraction::FontClient::SetDpi()
*/
void SetDpi(unsigned int horizontalDpi, unsigned int verticalDpi);
* @copydoc Dali::TextAbstraction::FontClient::SetDpi()
*/
void SetDpi(unsigned int horizontalDpi, unsigned int verticalDpi);