Class FontSettings

  • public class FontSettings
    extends Object

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

    • Constructor Detail

      • FontSettings

        public FontSettings()
    • Method Detail

      • resetFontSources

        public static void resetFontSources()

        Resets font sources that have been set before.

      • setFontSources

        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.