fontList.frink

Download or view fontList.frink in plain text format


// Simple program to list all available font names
ge = callJava["java.awt.GraphicsEnvironment", "getLocalGraphicsEnvironment", []]
fontNames = ge.getAvailableFontFamilyNames[]

for name = fontNames
   println[name]


Download or view fontList.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 20217 days, 23 hours, 59 minutes ago.