com.aspose.note.infrastructure

Class FontsSubsystem



  • public class FontsSubsystem
    extends Object

    The fonts subsystem.

    • Constructor Detail

      • FontsSubsystem

        public FontsSubsystem()
      • FontsSubsystem

        public FontsSubsystem(com.aspose.ms.System.Collections.Generic.Dictionary<String,String> fontsSubstitutions)

        Initializes a new instance of the FontsSubsystem class.

        Parameters:
        fontsSubstitutions - The fonts substitutions.
    • Method Detail

      • addFontSubstitution

        public void addFontSubstitution(String substituted,
                                        String substitution)

        The add font substitution.

        Parameters:
        substituted - The substituted.
        substitution - The substitution.
      • getFontFamily

        public com.aspose.ms.System.Drawing.FontFamily getFontFamily(String fontName)

        The get font family.

        Parameters:
        fontName - The font name.
        Returns:
        The FontFamily.