LoadFont no Work

Blitz3D Forums/Blitz3D Beginners Area/LoadFont no Work

Yue(Posted 2012) [#1]
[bbcode]
Font% = LoadFont("Media\Blitz.fon")
[/bbcode]

Help!


_PJ_(Posted 2012) [#2]
There's four main reasons why LoadFont can seem to fail...

1) The font is not ".ttf" 'True Type' filetype
2) The font is either not installed into the %WINDIR%/Fonts/ directory or a copy of the font file is not located within the same directory as the executable calling the LoadFont command
3) The name used to load the font differs from the actual internal name of the font (i.e. "Arialn.ttf" should be "Arial Narrow" or something)
4) The font is a 'symbol font'