Class TTFAnalyzer

java.lang.Object
com.myscript.util.TTFAnalyzer

public abstract class TTFAnalyzer extends Object
The class which loads the TTF file, parses it and returns the TTF font name.
  • Constructor Details

    • TTFAnalyzer

      public TTFAnalyzer()
  • Method Details

    • getTtfFontName

      public static String getTtfFontName(@NotNull @NotNull InputStream in)
      This function parses the TTF file and returns the font name specified in the file.
      Parameters:
      in - the file to parse.
      Returns:
      the font name.