This lua scripts in this demo are just using the basic line drawing function.
To see a demo of using both the internal font, and a true type font, clear out the main.lua file (or make a new one and rename the original) and put this in it:
ScreenRes(800,500,32)
white = NewColor(255,255,255)
ltblue = NewColor(200,200,255)
red = NewColor(255,0,0)
green = NewColor(0,255,0)
sPrint(1,10, "FreeBasic's internal font at row 1, column 10", ltblue)
sPrint(10,5, "FreeBasic's internal font at row 10, column 5", red)
myfont = LoadFont("katana.ttf")
FontPrint(10, 300, myfont, 70, green, "This is a true type font!")
using the attached font
*note - although it works the FreeType functions have some problems with the clipping, if the text is too close to one of the edges of the window it won't be drawn