X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Ftext%2Ftext-abstraction%2Ffont-client-plugin-impl.h;h=3ada20cb08d09109cf7a0c31a58c3a4ccd2b3bed;hb=1db2b07c2f951b4aa78c2eefbadb89faffeecd64;hp=4f1e344025b0e42840d615651bb9222fb7501383;hpb=85d894f01f1256769c246f21eb8f704393adb32c;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 4f1e344..3ada20c 100644 --- a/dali/internal/text/text-abstraction/font-client-plugin-impl.h +++ b/dali/internal/text/text-abstraction/font-client-plugin-impl.h @@ -321,11 +321,6 @@ struct FontClient::Plugin */ bool IsColorGlyph( FontId fontId, GlyphIndex glyphIndex ); - /** - * @copydoc Dali::TextAbstraction::FontClient::AddCustomFontDirectory() - */ - bool AddCustomFontDirectory( const FontPath& path ); - private: /** @@ -490,7 +485,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: @@ -520,9 +521,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 };