listFonts.frink

Download or view listFonts.frink in plain text format



// A simple program to list the available fonts.

ge=callJava["java.awt.GraphicsEnvironment", "getLocalGraphicsEnvironment"]

for name = ge.getAvailableFontFamilyNames[]
   println[name]


Download or view listFonts.frink in plain text format


This is a program written in the programming language Frink.
For more information, view the Frink Documentation or see More Sample Frink Programs.

Alan Eliasen was born 19972 days, 13 hours, 49 minutes ago.