• Font initializing
    4 replies, posted
Hey I have extracted a font from tf2, but I cant seem to port it into garry's mod for a derma thing im working on. I have put the font into resource/fonts folder and still no luck. any help? (I have created the font; [code] surface.CreateFont("DisFontBold", { font = "tf2build.ttf", size = "30", }) [/code])
use font name, not file name I think that's TFBuild
I originly tried it without the file extension, but that didnt work either, and i got the font online.
[QUOTE=gonzalolog;46602932]use font name, not file name I think that's TFBuild[/QUOTE] [QUOTE=Exploderguy;46603145]I originly tried it without the file extension, but that didnt work either, and i got the font online.[/QUOTE] [img]http://i.gyazo.com/5d97d04e281aea18bde5670fe61c3cba.png[/img] [img]http://i.gyazo.com/06514a9b65f8c4448428999b9cbcaeb3.png[/img] [code] surface.CreateFont("TimeLeft_ex", {font = "Octin Sports RG", size = 28, weight = 800}) [/code]
[QUOTE=Exho;46603208][img]http://i.gyazo.com/5d97d04e281aea18bde5670fe61c3cba.png[/img] [img]http://i.gyazo.com/06514a9b65f8c4448428999b9cbcaeb3.png[/img] [code] surface.CreateFont("TimeLeft_ex", {font = "Octin Sports RG", size = 28, weight = 800}) [/code][/QUOTE] Thanks man!
Sorry, you need to Log In to post a reply to this thread.