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
[4.0] Support custom fonts registration
[platform/core/uifw/dali-adaptor.git]
/
text
/
dali
/
internal
/
text-abstraction
/
font-client-impl.cpp
diff --git
a/text/dali/internal/text-abstraction/font-client-impl.cpp
b/text/dali/internal/text-abstraction/font-client-impl.cpp
index
4ab90bf
..
1bed788
100644
(file)
--- a/
text/dali/internal/text-abstraction/font-client-impl.cpp
+++ b/
text/dali/internal/text-abstraction/font-client-impl.cpp
@@
-281,6
+281,13
@@
bool FontClient::IsColorGlyph( FontId fontId, GlyphIndex glyphIndex )
return mPlugin->IsColorGlyph( fontId, glyphIndex );
}
return mPlugin->IsColorGlyph( fontId, glyphIndex );
}
+bool FontClient::AddCustomFontDirectory( const char* path )
+{
+ CreatePlugin();
+
+ return mPlugin->AddCustomFontDirectory( path );
+}
+
void FontClient::CreatePlugin()
{
if( !mPlugin )
void FontClient::CreatePlugin()
{
if( !mPlugin )