• [BUG] Failed to load custom font file
    0 replies, posted
Hi , i made an addon and when it should load customs fonts , it fail and i got this error [code] Failed to load custom font file 'c:/program files (x86)/steam/steamapps/xxxxxxxxxx/garrysmod/garrysmod/resource/fonts/crysisb.ttf' Failed to load custom font file 'c:/program files (x86)/steam/steamapps/xxxxxxxxxx/garrysmod/garrysmod/resource/fonts/crysissuitmodes3.ttf' [/code] Here is my code [lua] surface.CreateFont( "CrysisInfos", { font = "CRYSISB", size = 22, weight = 0.1, antialias = true, shadow = false }) surface.CreateFont( "Crysis", { font = "CrysisSuitModes3", size = 100, weight = 1, antialias = true, shadow = false }) surface.CreateFont( "Crysis2", { font = "CrysisSuitModes3", size = 130, weight = 1, antialias = true, shadow = false }) [/lua] [editline]27th October 2012[/editline] Fonts uploaded to Workshop are broken
Sorry, you need to Log In to post a reply to this thread.