new IndividualFontConfigs()

Ctor.

Methods

getFontSources() → Array of FontSourceBase

Gets a copy of the array that contains the list of sources

Returns

Array of FontSourceBase 

setFontFolder(fontFolder, recursive)

Sets the fonts folder

Parameters

Name Type Optional Description

fontFolder

String

 

The folder that contains TrueType fonts.

recursive

boolean

 

Determines whether or not to scan subfolders.

setFontFolders(fontFolders, recursive)

Sets the fonts folders

Parameters

Name Type Optional Description

fontFolders

Array of String

 

The folders that contains TrueType fonts.

recursive

boolean

 

Determines whether or not to scan subfolders.

setFontSources(sources)

Sets the fonts sources.

Parameter

Name Type Optional Description

sources

Array of FontSourceBase

 

An array of sources that contain TrueType fonts.