Fonts with Blitz Max

BlitzMax Forums/BlitzMax Beginners Area/Fonts with Blitz Max

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

1) I dunno, got any links? Probably using png/bitmap or TrueType fonts.
2) If you have the correct copy-rights to the font(s), yes.
3) Check the documentation and search the forums. LoadImageFont, SetImageFont and DrawText.
4) You should be able to, I haven't really used fonts that much - I'm currently doing a lot of software.

TrueType font example from http://www.blitzbasic.com/Community/posts.php?topic=43626
Note: The path to the font may be incorrect for your system (most likely not).
Graphics 640, 480, 0

Local NewFont:TImageFont = LoadImageFont("C:/windows/fonts/arial.ttf", 20)

SetImageFont NewFont

DrawText "Hit A Key...", 10, 10

Flip
WaitKey()

Graphics 640, 480, 0

DrawText "Hit A Key...", 10, 10

Flip
WaitKey()

End