Class FontParser
java.lang.Object
com.realtime.crossfire.jxclient.skin.io.FontParser
Creates
Font instances from string representations.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FontParser
Creates a new instance.- Parameters:
skinSource- the skin source for loading resources
-
-
Method Details
-
getFont
Returns a font by font file base name.- Parameters:
name- the file base name of the font file to load- Returns:
- the font
- Throws:
IOException- if the font cannot be loaded
-