Sharing solution of a nasty problem you could run into (font not recognized)

Font not loading?

Took me a while to figure out why gmod didn’t load them.
I had them in the right folder AND resource.AddFile AND used surface.CreateFont.
So what’s wrong?

The fon’t title is not neccessarily the same as the font’s filename and the title is what you have to use.[/T]

Getting the title:
-rightclick the file -> properties -> details tab


You don’t have to be german to understand that ‘Titel’ means ‘title’ I guess.

Maybe you already knew but if not it’s actually nasty to run into this problem. And now everybody can google search it.

Font still not loading on Windows? The font file must be extracted from the .gma file in order to work properly.