OK, I thanked you before testing it. :) It failed. The default font still shows up. Here's my code initializing the graphics when it works:
Just for fun, I threw the font file in the root directory of my project. No love either. Clues?
Strict SeedRnd MilliSecs() Const gcontinentwidth=1024 Const gheight=768 Graphics gcontinentwidth,gheight',0 Global hoog:TImageFont=LoadImageFont("Media/Fonts/hoog0553.ttf",8)' SetImageFont hoog SetBlend ALPHABLEND Incbin "Media\2d\Terrain\water.png" Global water:TImage = LoadImage ("incbin::Media\2d\Terrain\water.png") 'etc. etc.
'#Region Initialize graphics and variables Strict SeedRnd MilliSecs() Const gcontinentwidth=1024 Const gheight=768 Incbin "Media/Fonts/hoog0553.ttf" Graphics gcontinentwidth,gheight',0 Global font:TimageFont=LoadImageFont("incbin::Media/Fonts/hoog0553.ttf",8) SetImageFont font SetBlend ALPHABLEND Incbin "Media\2d\Terrain\water.png" Global water:TImage = LoadImage ("incbin::Media\2d\Terrain\water.png") 'etc. etc.
Just for fun, I threw the font file in the root directory of my project. No love either. Clues?