com.groupdocs.viewer.fonts

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.

        Parameters:
        fontSources - The font sources.
        Throws:
        IllegalArgumentException - Thrown when fontSources is null.