![View this Page](../schemes/poor/viewie.gif)
![Edit this Page (locked)](../schemes/poor/editlock.gif)
![Attachments to this Page](../schemes/poor/upload.gif)
![History of this Page](../schemes/poor/history.gif)
![Home](../schemes/poor/top.gif)
![Recent Changes](../schemes/poor/recent.gif)
![Search the Swiki](../schemes/poor/search.gif)
How to Print All Available Font Names
Just copy & paste these three lines, one at a time, into the 'interactions' window and execute:
> import java.awt.*;
> String arr[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
> for(int i=0; i < arr.length; i++) System.out.println("\"" + arr[i] + "\"");
"Arial"
"Arial Black"
"Arial Narrow"
"Book Antiqua"
"Bookman Old Style"
"Century Gothic"
"Comic Sans MS"
"Courier New"
"Default"
"Dialog"
"DialogInput"
"Estrangelo Edessa"
"Franklin Gothic Medium"
"Garamond"
"Gautami"
"Georgia"
"Haettenschweiler"
"Impact"
"Latha"
"Lucida Bright"
"Lucida Console"
"Lucida Sans"
"Lucida Sans Typewriter"
"Lucida Sans Unicode"
"Mangal"
"Marlett"
"Microsoft Sans Serif"
"Monospaced"
"Monotype Corsiva"
"MS Outlook"
"MV Boli"
"Palatino Linotype"
"Raavi"
"SansSerif"
"Serif"
"Shruti"
"Sylfaen"
"Symbol"
"Tahoma"
"Times New Roman"
"Trebuchet MS"
"Tunga"
"Verdana"
"Wingdings"
"Wingdings 2"
"Wingdings 3"
Links to this Page