Textwidth() and font positioning.

BlitzMax Forums/BlitzMax Beginners Area/Textwidth() and font positioning.

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.

Kerining, that sound about right.

Never been near the api before, but that would tie it to one platform unless I wrote a specific version yeah?

I'll see what I can learn about api. I suppose the best solution is to write a bit of code to output a .txt of the font info I can distribute with my code to make things nice and easy for the main code.

Here's a peek at what I have so far.
http://www.zen65317.zen.co.uk/simon/Animfonts.zip

Try it with other font's and you'll see it's very off at points.
(change "font.fmain=LoadImageFont("alex.ttf",40)", and press space to start a string drawing.)

I'm hoping the finished result will be of some use to the community, but first I have to sort these odd positioning problems.

P.S. Bonus points for identifying the quote.