In Java I would do something like:
java.awt.GraphicsEnvironment ge = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(); Font[
Regarding the actual question, here is a way to create a list of all available fonts installed:
String path = "/system/fonts"; File file = new File(path); File ff[] = file.listFiles();
Array ff[] will contain all the font files.