• Strange HUD font problems
    2 replies, posted
I'm currently trying to swap out custom font on a HUD. The custom font that I used is visible for me but other clients load default font on the HUD. I've added resource.AddFile("resource/fonts/LemonMilk.ttf") and the font is downloading for clients but the font still isn't visible for other players even after they've downloaded it. [code] surface.CreateFont( "bHUD_22", { font = "LemonMilk", size = 22, weight = 500, antialias = true, } ) surface.CreateFont( "bHUD_18", { font = "LemonMilk", size = 18, weight = 500, antialias = true, } ) [/code] The font is present in the resource folder as well. Not sure what the problem is.
You sure the font name is correct have you opened the .tff and looked at the top left of the file where it said Font Name:
[QUOTE=mjctechguy;48161542]You sure the font name is correct have you opened the .tff and looked at the top left of the file where it said Font Name:[/QUOTE] Thanks. Turned out I had the name wrong. I figured I had it right since the correct font was visible for me.
Sorry, you need to Log In to post a reply to this thread.