incbin font

BlitzMax Forums/BlitzMax Beginners Area/incbin font

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.

Hi,

I'm running Blitzmax 1.09 under OSX Tiger and I cannot get incbin working with fonts. My code is:

Incbin "davefont.ttf"
Global newfont=LoadImageFont("incbin::davefont.ttf", 20)

Everything works OK, but as soon as I move the executable out of the folder with the font file, the game reverts back to default Blitzmax font (ie it does not seem to be including the font with the executable). I thought this was implemented in 1.06 - have I just written it wrongly?

cheers,

Dave.