com.groupdocs.conversion.contracts

Class FontSubstitute

    • Method Detail

      • create

        public static FontSubstitute create(String originalFont,
                            String substituteWith)
        Instantiate new font substitution pair.
        Parameters:
        originalFont - Font from the source document.
        substituteWith - Font which will be used to replace originalFont.
        Returns:
        substitution pair
      • getOriginalFontName

        public String getOriginalFontName()
        The original font name.
        Returns:
        the original font name.
      • getSubstituteFontName

        public String getSubstituteFontName()
        The substitute font name.
        Returns:
        the substitute font name.