Garry's Mod

Garry's Mod

View Stats:
Sazzouu Jul 7, 2018 @ 2:17am
Adding external / custom fonts to a server
So basically I can't figure out how to do whats described in the title.

I've written my own credentials-system (with lots of features such as an ID card and many more) and now I wanted to give it a slightly more "professional" touch by not using one of those crappy default fonts but using a custom designed font.

The file format of this font is .otf - maybe GMOD doesn't support otf files?
My font works propperly when I try to use it on Windows itself.

My file hierarchy looks like this:

server / garrysmod / addons / <myaddon> / resource / fonts / <mycustomfont>
And I have an initializationscript with
resource.AddFile( "resource/fonts/<mycustomfont>" )

Now either the client does not receive the font or its not compatible or anything else.
Anyone knows / has an example on how to fix this?
Last edited by Sazzouu; Jul 7, 2018 @ 2:27am
< >
Showing 1-6 of 6 comments
Sazzouu Jul 7, 2018 @ 5:03am 
Got it fixed
GMod Lua is incompatible with .oft files
kippasaur Feb 24, 2019 @ 12:31am 
are you able to teach me please
Sazzouu Feb 24, 2019 @ 2:48am 
What exactly?
medium_rifle Feb 24, 2019 @ 7:25am 
Try typing your server name in Google Docs or something you can make fonts in, and then copy and paste it to the server name.
Sazzouu Feb 24, 2019 @ 7:28am 
Originally posted by some person:
Try typing your server name in Google Docs or something you can make fonts in, and then copy and paste it to the server name.

My problem had been solved long time ago actually...
It was the unsupported format. After changing my fonts format to TTF it worked out well.
Originally posted by Sazzouu:
Originally posted by some person:
Try typing your server name in Google Docs or something you can make fonts in, and then copy and paste it to the server name.

My problem had been solved long time ago actually...
It was the unsupported format. After changing my fonts format to TTF it worked out well.
it didnt work for me
< >
Showing 1-6 of 6 comments
Per page: 1530 50