public class FontSettings extends Object
Provides methods for working with sources to look for TrueType fonts.
Constructor and Description |
---|
FontSettings() |
Modifier and Type | Method and Description |
---|---|
static void |
resetFontSources()
Resets font sources that have been set before.
|
static void |
setFontSources(FontSource... fontSources)
Set the sources to look for TrueType fonts when rendering documents.
|
public static void resetFontSources()
Resets font sources that have been set before.
public static void setFontSources(FontSource... fontSources)
Set the sources to look for TrueType fonts when rendering documents.
fontSources
- The font sources.IllegalArgumentException
- Thrown when fontSources
is null.