LoadFonts...again



  • I cant get loadFontAs to work at all...

    I've put a ttf font in the images folder of my project its file name is NETTOOFFC.TTF

    windows tells me its real name is "Netto Offc"

    Engine.loadFontAs("NETTOOFFC.TTF", "Netto");
    

    fails to find the font

    Engine.loadFontAs("Netto Offc.TTF", "Netto");
    

    fails to find the font

    Engine.loadFontAs("{PROJECT FOLDER}NETTOOFFC.TTF", "Netto");
    

    fails to find the font.

    Engine.loadFontAs("{PROJECT FOLDER}Netto Offc.ttf", "Netto");
    

    fails to find the font.

    I cant think what else I could do, and clues anyone?



  • @Lindon You're missing an underscore: {PROJECT_FOLDER}



  • @d-healey Oh what a doofus --- again. Thanks Dave.


 

3
Online

400
Users

1.3k
Topics

9.4k
Posts