Sorry, but i still don't get it.
public final static
String GAME_FONT = "se/hgo/trycoon/jplane2/resources/cooper.ttf";
private final static int FONTSIZE = 50;
System.out.println("name = " + tmpFont.getName() + "\n" +
"style = " + tmpFont.getStyle() + "\n" +
"tmpFont = " + tmpFont.toString());
Gives me:
name = Cooper
style = 0
tmpFont = java.awt.Font[family=Cooper,name=Cooper,style=plain,size=1]
If the font not had been found, mGameFont = new Font(tmpFont.getName(), tmpFont.getStyle(), FONTSIZE);, would throw an exception.
But it all looks OK, except that Windows shows another font. (Mac & Linux is still working great).
More suggestions?