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 19097 days, 3 hours, 7 minutes ago.