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.

I'm pretty sure this is a Macos bug.

Graphics 640,480,0
Incbin "alex.ttf"
Local font:TImageFont=LoadImageFont("incbin::alex.ttf",200 )
SetImageFont font
While Not KeyHit( KEY_ESCAPE )
Cls
DrawText "This is test",0,0
Flip
Wend


Works fine when I click on compile and build.However when I move the .app file to another dir it defaults to the system font.If I copy the font to that location it works fine again.