The latest Frink release adds the ability to draw text into Frink's
new graphics. Text is high-quality, and has transparent, anti-aliased
edges. Text can either be automatically scaled along with an image, or
rendered at a fixed size that stays constant as the image is scaled.
There are three generic fonts designed for portability between
platforms and renderers, or, if you don't care about portability, any
font on your system can be used.
For more information, see the "Graphics with Text" section of the
documentation:
http://futureboy.us/frinkdocs/#GraphicsWithText
For example, the following simple program draws a 5x5 grid of random
characters, which are automatically resized as you resize the image:
----------------------------------------------------------------
g=new graphics
g.font["SansSerif", "bold", 10]
for x=1 to 5
for y=1 to 5
g.text[char[random[char["A"], char["Z"]]], x*10, y*10]
g.show[]
----------------------------------------------------------------
Your homework is to make some interesting gameboard using similar
techniques!
--
Alan Eliasen | "Furious activity is no substitute
eliasen@... | for understanding."
http://futureboy.us/ | --H.H. Williams