X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Ftext%2Ftext-abstraction%2Ffont-client-plugin-impl.h;h=0af3278b3d73cb1af57050ef3519dc3ece913d9e;hb=3c558a47e427220cd9f88cd94af5fcdc0d12d4fa;hp=969f1607205acaf5eda7a8e3dedaf102c0e0307b;hpb=6a12eb712e93295b9827dd553eb7301fc7a699fc;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/text/text-abstraction/font-client-plugin-impl.h b/dali/internal/text/text-abstraction/font-client-plugin-impl.h index 969f160..0af3278 100644 --- a/dali/internal/text/text-abstraction/font-client-plugin-impl.h +++ b/dali/internal/text/text-abstraction/font-client-plugin-impl.h @@ -321,6 +321,11 @@ struct FontClient::Plugin */ bool IsColorGlyph( FontId fontId, GlyphIndex glyphIndex ); + /** + * @copydoc Dali::TextAbstraction::FontClient::AddCustomFontDirectory() + */ + bool AddCustomFontDirectory( const FontPath& path ); + private: /** @@ -485,7 +490,13 @@ private: * * @return A character set. */ - _FcCharSet* CreateCharacterSetFromDescription( const FontDescription& description ) const; + _FcCharSet* CreateCharacterSetFromDescription( const FontDescription& description ); + + /** + * @brief Destroy all matched Patterns. + * + */ + void DestroyMatchedPatterns(); private: @@ -515,9 +526,9 @@ private: CharacterSetList mCharacterSetCache; ///< Caches character set lists for the validated font. std::vector mFontIdCache; ///< Caches font identifiers for the pairs of font point size and the index to the vector with font descriptions of the validated fonts. - VectorFontCache* mVectorFontCache; ///< Separate cache for vector data blobs etc. - - Vector mEllipsisCache; ///< Caches ellipsis glyphs for a particular point size. + VectorFontCache* mVectorFontCache; ///< Separate cache for vector data blobs etc. + Vector mEllipsisCache; ///< Caches ellipsis glyphs for a particular point size. + Vector<_FcPattern*> mMatchedFcPatternCache; ///< Contain matched FcPattern pointer. bool mDefaultFontDescriptionCached : 1; ///< Whether the default font is cached or not };