Include font

BlitzMax Forums/BlitzMax Beginners Area/Include font

Hi,

I use a different font and currently have it in the game's font folder. It works fine with the following code:
Global newfont=LoadImageFont("Fonts/davesfont.ttf", 20)
SetImageFont(newfont)
 

The font has been declared OK for non-commercial use. Is there anyway of using incbin with the font rather than distributing the ttf file with the game?

I tried the following which didnt work:
incbin "Fonts/davesfont.ttf"
Global newfont=LoadImageFont("Fonts/davesfont.ttf", 20)


Thanks,

Dave.