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 20139 days, 6 hours, 21 minutes ago.