listFonts.frink

View or download 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]


View or download 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 18662 days, 18 hours, 51 minutes ago.