Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Attributes | List of all members
SkFontMgr_Android_CustomFonts Struct Reference

#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
 

Detailed Description

Definition at line 16 of file SkFontMgr_android.h.

Member Enumeration Documentation

◆ SystemFontUse

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.

18 {
19 kOnlyCustom, /** Use only custom fonts. NDK compliant. */
20 kPreferCustom, /** Use custom fonts before system fonts. */
21 kPreferSystem /** Use system fonts before custom fonts. */
22 };

Member Data Documentation

◆ fBasePath

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.

◆ fFallbackFontsXml

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.

◆ fFontsXml

const char* SkFontMgr_Android_CustomFonts::fFontsXml

Optional custom configuration file to use.

Definition at line 30 of file SkFontMgr_android.h.

◆ fIsolated

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.

◆ fSystemFontUse

SystemFontUse SkFontMgr_Android_CustomFonts::fSystemFontUse

Whether or not to use system fonts.

Definition at line 24 of file SkFontMgr_android.h.


The documentation for this struct was generated from the following file: