Flutter Engine
The Flutter Engine
|
#include <SkFontMgr_android.h>
Public Types | |
enum | SystemFontUse { kOnlyCustom , kPreferCustom , kPreferSystem } |
Public Attributes | |
SystemFontUse | fSystemFontUse |
const char * | fBasePath |
const char * | fFontsXml |
const char * | fFallbackFontsXml |
bool | fIsolated |
Definition at line 16 of file SkFontMgr_android.h.
When specifying custom fonts, indicates how to use system fonts.
Enumerator | |
---|---|
kOnlyCustom | |
kPreferCustom | Use only custom fonts. NDK compliant. |
kPreferSystem | Use custom fonts before system fonts. Use system fonts before custom fonts. |
Definition at line 18 of file SkFontMgr_android.h.
const char* SkFontMgr_Android_CustomFonts::fBasePath |
Base path to resolve relative font file names. If a directory, should end with '/'.
Definition at line 27 of file SkFontMgr_android.h.
const char* SkFontMgr_Android_CustomFonts::fFallbackFontsXml |
Optional custom configuration file for fonts which provide fallback. In the new style (version > 21) fontsXml format is used, this should be NULL.
Definition at line 35 of file SkFontMgr_android.h.
const char* SkFontMgr_Android_CustomFonts::fFontsXml |
Optional custom configuration file to use.
Definition at line 30 of file SkFontMgr_android.h.
bool SkFontMgr_Android_CustomFonts::fIsolated |
Optional custom flag. If set to true the SkFontMgr will acquire all requisite system IO resources on initialization.
Definition at line 40 of file SkFontMgr_android.h.
SystemFontUse SkFontMgr_Android_CustomFonts::fSystemFontUse |
Whether or not to use system fonts.
Definition at line 24 of file SkFontMgr_android.h.