When I used a java program to find all the fonts available on java.
On MSW7 has more fonts available than on java on Linux.
Why is that?
Where can I get more java fonts? tia
here's the program:
Code:
import java.awt.GraphicsEnvironment;
public class ListJavaFonts
{
public static void main(String[] args)
{
String fonts[] =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
for ( int i = 0; i < fonts.length; i++ )
{
System.out.println(fonts[i]);
}
}
}
:$ java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-2)
OpenJDK Server VM (build 14.0-b16, mixed mode)
---
Never mind got it.