In addition to the above...
I also found there was a loading problem if the font was in a folder e.g. called 'fonts\' next to the main engine.
LoadFont gave no error(?), but the the font never appeared (defaulted to Arial)!
By trial and error I found that the font would load if I gave a 'fuller' path (though a drive letter was not necessary) e.g. \Projects\Game\fonts\myfont.ttf which effectively indicates the root of the drive, and the folder path upwards from there.
So make use of CurrentDir$() in building the font filename.
No other resources needed this approach!
I also found there was a loading problem if the font was in a folder e.g. called 'fonts\' next to the main engine.
LoadFont gave no error(?), but the the font never appeared (defaulted to Arial)!
By trial and error I found that the font would load if I gave a 'fuller' path (though a drive letter was not necessary) e.g. \Projects\Game\fonts\myfont.ttf which effectively indicates the root of the drive, and the folder path upwards from there.
So make use of CurrentDir$() in building the font filename.
No other resources needed this approach!