Font error

Blitz3D Forums/Blitz3D Beginners Area/Font error

Hello I am trying to load a font but it is not loading in blitz. It looks like the default font here is my code:


Graphics 800, 600, 16, 2
SetBuffer BackBuffer()

Global s = LoadFont("c\fonts\MANCH_EI.pfb", 72, False, False, False)
SetFont s
While Not KeyHit(1)
ClsColor 255, 255, 0
SetFont s
Text 300, 300, "Luther"
Flip
Wend

blitz might not accept pfb files...
why not convert the pfb file into a bitmapped font they look better anyways...

hmmm...how would i do that..im a newbie

Also, if the font is installed you don't specify the directory.

check the code archives for examples and search this forum for bitmapped font. Ive posted code before......Also check out masterbreakers sig it has a link to fontext a free version is availiable to make bitmapped fonts...

I think Blitz only works with True Type fonts. The font file can be either in the same directory as your program, or in the Windows font directory. The font name you specify in LoadFont should be the same as the text that appears in large print in the top line of the Windows font viewer, minus the ' (TrueType)' part.

ok...ive got it to work...i see it only works with ttf files only..thanks guys