[Question] - Font Problem

I’ve created a simple LCD style number font, I’ve put it in resource/fonts/lcd.ttf and used:
surface.CreateFont(“lcd”, 14, 400, true, false, “SpeedFont”)
However, it always shows as default, what am I doing wrong?

Make sure you’re using “SpeedFont” for the font name rather than “lcd” when you do something like surface.SetFont. If you already are I don’t know any other reason why it wouldn’t work, other than your ttf being in the wrong location.


I’ve tried that, and restarting garrys mod. My font is located in resource/fonts/lcd.TTF

Make sure your using the font name, not the file name and make sure it is in the gamemode initialize hook

On the client?