Finding the Font Name
To use your font in game you need to know the name of your font. This is required for surface.CreateFont.
The font name is not a file name of that font. Your file can have any name, GMod finds the font only by its real name.
Make sure your font is .ttf, it's in your
resource/fonts/ folder and it's included for downloading.
_) or hyphens(
-) for spaces, especially on Linux. Example:
- Right click on your font and click
Previewor double click it
- In opened window find
- The name goes after
Font name:(In this example, it's
Open the font
Find the label at the center of the top menu (In this example, it's
Arial, style is not a part of the font here)
Additionally you can check the font name by click
Infoon the top menu and find