Font not loading??

Miscellaneous Forums/MacOS X Discussion/Font not loading??

... or is it just me not doing things the right way???
well, that's very simple, here is the code:

fpsFont = LoadImageFont("Pictures\Gargoyles N",18)
SetImageFont(fpsFont)

where Gargoyles N is a TrueType font my OS X is able to read... but I still get the default font when writing text with DrawText... don't know why...

Hey! The following code works on my Mac and PC. Bummer is for now you need to actually put a copy of the font you want to load in a directory where you can direct Blitz Max to it:

Global hoog:TImageFont=LoadImageFont("Media/Fonts/hoog0553.ttf",8)
SetImageFont hoog


Holler if you have probs still, I can send you the code in a STUFFIT archive or something like that. :)

KamaShin - stick a line in the middle like:
if fpsFont
Text "font loaded",100,100
else
Text "font not loaded",100,100
endif

..and see what you get.

I got the "font not loaded" message... However I ve solved the problem :)
it appears that the font found in the OS X system won't be loaded by BMax... I then tried some ttf fonts downloaded on the net and they all worked fine :)
thanks for the answers though :)