X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Ftext%2Ftext-abstraction%2Fplugin%2Fharfbuzz-proxy-font.cpp;h=53d3d0fc2c9da47af601cd9c2a517e7e850fb218;hb=refs%2Fchanges%2F02%2F283802%2F5;hp=5d62a95bb608b1635afab4eb96e6ef7ca94ab580;hpb=710a932acbde35cfcfad41fe3f7c225021258c32;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/internal/text/text-abstraction/plugin/harfbuzz-proxy-font.cpp b/dali/internal/text/text-abstraction/plugin/harfbuzz-proxy-font.cpp index 5d62a95..53d3d0f 100644 --- a/dali/internal/text/text-abstraction/plugin/harfbuzz-proxy-font.cpp +++ b/dali/internal/text/text-abstraction/plugin/harfbuzz-proxy-font.cpp @@ -76,7 +76,7 @@ private: public: FT_Face mFreeTypeFace; ///< The FreeType face. Owned from font-face-cache-item. - GlyphCacheManager* mGlyphCacheManager; ///< Glyph caching system for this harfbuzz font. Owned from font-face-cache-item. + GlyphCacheManager* mGlyphCacheManager; ///< Glyph caching system for this harfbuzz font. Owned from font-client-plugin-cache-handler. hb_font_t* mHarfBuzzFont; ///< Harfbuzz font handle integrated with FT_Face. }; @@ -126,7 +126,7 @@ static bool GetGlyphCacheData(void* font_data, const GlyphIndex& glyphIndex, Gly if(DALI_LIKELY(impl && impl->mGlyphCacheManager)) { FT_Error error; - return impl->mGlyphCacheManager->GetGlyphCacheDataFromIndex(glyphIndex, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING, false, glyphData, error); + return impl->mGlyphCacheManager->GetGlyphCacheDataFromIndex(impl->mFreeTypeFace, glyphIndex, FT_LOAD_DEFAULT | FT_LOAD_NO_HINTING, false, glyphData, error); } return false; }