FileDocCategorySizeDatePackage
FontPostscriptNames.javaAPI DocExample356Sun Jan 07 16:07:16 GMT 2001None

FontPostscriptNames

public class FontPostscriptNames extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] argv)

    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    Font [] fonts = ge.getAllFonts();

    for (int i = 0; i < fonts.length; i++)
      System.out.println(fonts[i].getPSName());