Package com.myscript.util
Class TTFAnalyzer
java.lang.Object
com.myscript.util.TTFAnalyzer
The class which loads the TTF file, parses it and returns the TTF font name.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getTtfFontName
(@NotNull InputStream in) This function parses the TTF file and returns the font name specified in the file.
-
Constructor Details
-
TTFAnalyzer
public TTFAnalyzer()
-
-
Method Details
-
getTtfFontName
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.
-