font problem

Blitz3D Forums/Blitz3D Beginners Area/font problem

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.

IIRC, you have to load the font using its 'internal' name (which can be found by double-clicking a TTF file in Windows -- its shown at the very top i.e. "MyFont (TrueType)"). So, you would use:

fnt3x5=LoadFont("gfx\fonts\MyFont.TTF",24)

You might have further problems if your font's internal name contains spaces.

Oh, and I'd strongly recommend using FONText to get around the issue of TTF's all together.