Constructor Summary |
---|
Property Getters/Setters Summary | ||
---|---|---|
static function | getDefaultFontName() | |
staticfunction | setDefaultFontName(value) | |
Gets or sets the default font name. |
Method Summary | ||
---|---|---|
static function | getFontSources() | |
Gets a copy of the array that contains the list of sources
|
||
static function | getFontSubstitutes(originalFontName) | |
Returns array containing font substitute names to be used if original font is not presented.
|
||
static function | setFontFolder(fontFolder, recursive) | |
Sets the fonts folder
|
||
static function | setFontFolders(fontFolders, recursive) | |
Sets the fonts folders
|
||
static function | setFontSources(sources) | |
Sets the fonts sources.
|
||
static function | setFontSubstitutes(originalFontName, substituteFontNames) | |
Font substitute names for given original font name.
|
function static getDefaultFontName() / function static setDefaultFontName(value)
static function setFontSubstitutes(originalFontName, substituteFontNames)
originalFontName: String
- Original font name.substituteFontNames: String[]
- List of font substitute names to be used if original font is not presented.static function getFontSubstitutes(originalFontName)
originalFontName: String
- originalFontNamestatic function setFontFolder(fontFolder, recursive)
fontFolder: String
- The folder that contains TrueType fonts.recursive: boolean
- Determines whether or not to scan subfolders.static function setFontFolders(fontFolders, recursive)
fontFolders: String[]
- The folders that contains TrueType fonts.recursive: boolean
- Determines whether or not to scan subfolders.static function setFontSources(sources)
sources: FontSourceBase[]
- An array of sources that contain TrueType fonts.static function getFontSources()