com.aspose.note.fonts

Class DocumentFontsSubsystem

  • All Implemented Interfaces:
    IFontsSubsystem


    public class DocumentFontsSubsystem
    extends FontsSubsystem

    Simple implementation of Aspose.Note.Fonts.FontsSubsystem. Retrieves FontFamily object from OS.

    • Constructor Detail

      • DocumentFontsSubsystem

        public DocumentFontsSubsystem(Font defaultFont,
                                      HashMap<String,String> fontsSubstitutions)

        Initializes a new instance of the DocumentFontsSubsystem class.

        Parameters:
        defaultFont - The default Font.
        fontsSubstitutions - The fonts substitutions.
      • DocumentFontsSubsystem

        public DocumentFontsSubsystem(Font defaultFont)

        Initializes a new instance of the DocumentFontsSubsystem class.

        Parameters:
        defaultFont - The default Font.
      • DocumentFontsSubsystem

        public DocumentFontsSubsystem(HashMap<String,String> fontsSubstitutions)

        Initializes a new instance of the DocumentFontsSubsystem class.

        Parameters:
        fontsSubstitutions - The fonts substitutions.
      • DocumentFontsSubsystem

        public DocumentFontsSubsystem()

        Initializes a new instance of the DocumentFontsSubsystem class.

    • Method Detail

      • setDefault

        public static void setDefault(DocumentFontsSubsystem value)

        Gets or sets the static default instance.