FontSettings

Inheritance: java.lang.Object

public class FontSettings

Provides methods for working with sources to look for TrueType fonts.

Constructors

Constructor Description
FontSettings()

Methods

Method Description
setFontSources(FontSource[] fontSources) Set the sources to look for TrueType fonts when rendering documents.
resetFontSources() Resets font sources that have been set before.

FontSettings()

public FontSettings()

setFontSources(FontSource[] fontSources)

public static void setFontSources(FontSource[] fontSources)

Set the sources to look for TrueType fonts when rendering documents.

Parameters:

Parameter Type Description
fontSources FontSource[] The font sources.

resetFontSources()

public static void resetFontSources()

Resets font sources that have been set before.