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