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
[Tizen] Support custom fonts registration
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
text
/
text-abstraction
/
font-client-impl.cpp
diff --git
a/dali/internal/text/text-abstraction/font-client-impl.cpp
b/dali/internal/text/text-abstraction/font-client-impl.cpp
index
ad125fd
..
3d0f72b
100644
(file)
--- a/
dali/internal/text/text-abstraction/font-client-impl.cpp
+++ b/
dali/internal/text/text-abstraction/font-client-impl.cpp
@@
-288,6
+288,13
@@
FT_FaceRec_* FontClient::GetFreetypeFace( FontId fontId )
return mPlugin->GetFreetypeFace( fontId );
}
+bool FontClient::AddCustomFontDirectory( const FontPath& path )
+{
+ CreatePlugin();
+
+ return mPlugin->AddCustomFontDirectory( path );
+}
+
void FontClient::CreatePlugin()
{
if( !mPlugin )