aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkFontMgr_android.h
Commit message (Collapse)AuthorAge
* Add support for caching font files in the Android SkFontMgr.Gravatar khushalsagar2016-02-12
| | | | | | | | | | | | | SkFontMgr_Android lazily access font files from disk, which is not possible when it is used in the renderer sandbox on Linux. Add a flag to SkFontMgr_Android_CustomFonts for caching readonly FILE streams when creating the font mgr. Since the font mgr is created before the sandbox is initialized, it can access these files on initialization, and use these cached streams safely for its lifetime. Review URL: https://codereview.chromium.org/1673373003
* Move Android SkFontMgr::Factory to its own file.Gravatar bungeman2015-06-17
| | | | Review URL: https://codereview.chromium.org/1190993002
* Add factory for Android font manager.Gravatar bungeman2015-02-06
This allows users to create an Android font manager with their own set of fonts, or augment the system set. This will allow for removal of the current globals which are used for a similar, but more constained, purpose. BUG=skia:2817,skia:3314,chromium:407340 Review URL: https://codereview.chromium.org/887113002