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.
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.