Is there any way to use oulined fonts?

Blitz3D Forums/Blitz3D Beginners Area/Is there any way to use oulined fonts?

po(Posted 2003) [#1]
well, is there?


GameCoder(Posted 2003) [#2]
You could create the fonts in a graphics package, make them nice and fancy. Then use a bit of CUT n Paste and turn the actual text into an image strip, just like you would a character animation, then use loadanimimage to display your nice lovely text. :)

If you mean just regular fonts using the font commands then i dont think there is a way without atually graphically manipulating the font somehow.


Beaker(Posted 2003) [#3]
Use bitmap fonts (see my sig), or just draw different colored versions of the same text with a slight offset:

Function OutlineText(x,y,txt$)
Color 255,0,0
For xoff = -1 to 1
For yoff = -1 to 1
Text x+xoff,y+yoff,txt
Next
Next
Color 255,255,255
Text x,y,txt
End function

(Untested)


Shambler(Posted 2003) [#4]
Im working on a 3D text system built on the 'pixies' code that uses the text command on an image buffer then modifies that buffer to do things like multicoloured text/ outlined text/shadowed etc.

The beauty of this is it that there are alot of fonts available ( copyright permitting ) and the code to generate the text is very simple, no messing around with single characters.

Also because it uses a single sprite things like alpha fading are easy to do.

It all began with this wonderful piece of coding =)

http://www.blitzbasic.co.nz/codearcs/codearcs.php?code=773


po(Posted 2003) [#5]
MasterBreaker, I used you FONText Shareware and it's great!
I have an outlined font that I have saved. Now how do I use it as text? Do I load it as an image? Or what?