import java.awt.*;

public class TestFonts
{
    public static void main(String [] args) throws Exception
    {
        GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
        Font[] pcFonts = ge.getAllFonts();

        for (Font f : pcFonts)
        {
            if (f.getName().equalsIgnoreCase(f.getFontName()) == false)
            {
                System.out.println(f.getName() + " :: " + f.getFontName());
            }
        }
    }
}