FontSettings

Inheritance: java.lang.Object

public final class FontSettings

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

Methods

Method Description
setFontSources(IFontSource[] fontSources) Sets the sources to look for TrueType fonts when rendering documents.
resetFontSources() Resets previously set font sources.

setFontSources(IFontSource[] fontSources)

public static void setFontSources(IFontSource[] fontSources)

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

Parameters:

Parameter Type Description
fontSources com.aspose.IFontSource[] One or more font sources to use.

resetFontSources()

public static void resetFontSources()

Resets previously set font sources.