GMod 12 Fonts

[release]GMod 12 Fonts

Miss the fonts from GMod 12? Well don’t fret! Papa Banana has the font set you’re looking for![/release]

[release]Download

https://dl.dropbox.com/u/5648925/gmod/steam_workshop.png

(http://steamcommunity.com/sharedfiles/filedetails/?id=104513032)

[lua]local tblFonts = { }
tblFonts[“DebugFixed”] = {
font = “Courier New”,
size = 10,
weight = 500,
antialias = true,
}

tblFonts[“DebugFixedSmall”] = {
font = “Courier New”,
size = 7,
weight = 500,
antialias = true,
}

tblFonts[“DefaultFixedOutline”] = {
font = “Lucida Console”,
size = 10,
weight = 0,
outline = true,
}

tblFonts[“MenuItem”] = {
font = “Tahoma”,
size = 12,
weight = 500,
}

tblFonts[“Default”] = {
font = “Tahoma”,
size = 13,
weight = 500,
}

tblFonts[“TabLarge”] = {
font = “Tahoma”,
size = 13,
weight = 700,
shadow = true,
}

tblFonts[“DefaultBold”] = {
font = “Tahoma”,
size = 13,
weight = 1000,
}

tblFonts[“DefaultUnderline”] = {
font = “Tahoma”,
size = 13,
weight = 500,
underline = true,
}

tblFonts[“DefaultSmall”] = {
font = “Tahoma”,
size = 1,
weight = 0,
}

tblFonts[“DefaultSmallDropShadow”] = {
font = “Tahoma”,
size = 11,
weight = 0,
shadow = true,
}

tblFonts[“DefaultVerySmall”] = {
font = “Tahoma”,
size = 10,
weight = 0,
}

tblFonts[“DefaultLarge”] = {
font = “Tahoma”,
size = 16,
weight = 0,
}

tblFonts[“UiBold”] = {
font = “Tahoma”,
size = 12,
weight = 1000,
}

tblFonts[“MenuLarge”] = {
font = “Verdana”,
size = 15,
weight = 600,
antialias = true,
}

tblFonts[“ConsoleText”] = {
font = “Lucida Console”,
size = 10,
weight = 500,
}

tblFonts[“Marlett”] = {
font = “Marlett”,
size = 13,
weight = 0,
symbol = true,
}

tblFonts[“Trebuchet24”] = {
font = “Trebuchet MS”,
size = 24,
weight = 900,
}

tblFonts[“Trebuchet22”] = {
font = “Trebuchet MS”,
size = 22,
weight = 900,
}

tblFonts[“Trebuchet20”] = {
font = “Trebuchet MS”,
size = 20,
weight = 900,
}

tblFonts[“Trebuchet19”] = {
font = “Trebuchet MS”,
size = 19,
weight = 900,
}

tblFonts[“Trebuchet18”] = {
font = “Trebuchet MS”,
size = 18,
weight = 900,
}

tblFonts[“HUDNumber”] = {
font = “Trebuchet MS”,
size = 40,
weight = 900,
}

tblFonts[“HUDNumber1”] = {
font = “Trebuchet MS”,
size = 41,
weight = 900,
}

tblFonts[“HUDNumber2”] = {
font = “Trebuchet MS”,
size = 42,
weight = 900,
}

tblFonts[“HUDNumber3”] = {
font = “Trebuchet MS”,
size = 43,
weight = 900,
}

tblFonts[“HUDNumber4”] = {
font = “Trebuchet MS”,
size = 44,
weight = 900,
}

tblFonts[“HUDNumber5”] = {
font = “Trebuchet MS”,
size = 45,
weight = 900,
}

tblFonts[“HudHintTextLarge”] = {
font = “Verdana”,
size = 14,
weight = 1000,
antialias = true,
additive = true,
}

tblFonts[“HudHintTextSmall”] = {
font = “Verdana”,
size = 11,
weight = 0,
antialias = true,
additive = true,
}

tblFonts[“CenterPrintText”] = {
font = “Trebuchet MS”,
size = 18,
weight = 900,
antialias = true,
additive = true,
}

tblFonts[“DefaultFixed”] = {
font = “Lucida Console”,
size = 10,
weight = 0,
}

tblFonts[“DefaultFixedDropShadow”] = {
font = “Lucida Console”,
size = 10,
weight = 0,
shadow = true,
}

tblFonts[“CloseCaption_Normal”] = {
font = “Tahoma”,
size = 16,
weight = 500,
}

tblFonts[“CloseCaption_Italic”] = {
font = “Tahoma”,
size = 16,
weight = 500,
italic = true,
}

tblFonts[“CloseCaption_Bold”] = {
font = “Tahoma”,
size = 16,
weight = 900,
}

tblFonts[“CloseCaption_BoldItalic”] = {
font = “Tahoma”,
size = 16,
weight = 900,
italic = true,
}

tblFonts[“TargetID”] = {
font = “Trebuchet MS”,
size = 22,
weight = 900,
antialias = true,
}

tblFonts[“TargetIDSmall”] = {
font = “Trebuchet MS”,
size = 18,
weight = 900,
antialias = true,
}

tblFonts[“BudgetLabel”] = {
font = “Courier New”,
size = 14,
weight = 400,
outline = true,
}

for k,v in SortedPairs( tblFonts ) do
surface.CreateFont( k, tblFonts[k] );

--print( "Added font '"..k.."'" );

end[/lua][/release]

p.s. you better damn well love me for this because it took like an hour

Cool thanks for the font, that will come in handy.

don’t worry, I love bananas. :zoid:

I don’t understand who this addon is aimed at

Anyone who misses the GM12 fonts of course.

[editline]24th October 2012[/editline]

Which doesn’t sound like a lot of people…

I feel like this would have been better as a code snippet, I can’t really see the point of it as an addon.

to put it in workshop.vdf and use the fonts on your server

[editline]24th October 2012[/editline]

possibly even you, to add these back :smiley:

Yeah, can we get the code snippet?

Hex editor

People who are too lazy to copypaste the fonts they require for their old code.

I must say I was puzzled for a second earlier this evening, but once I found the fonts were gone out I just opened up a GM12 sandbox and base gamemode, cntrl+F-ed the font I needed and put it in the stuff I am porting.

The list above is all you need for a copypasta.

somehow the trebuchets are missing from this (you know, the ones that I originally made this for) so I updated it again

[editline]24th October 2012[/editline]

also added code snippet to OP

“DefaultSmall” is listed here as font size 1. Also thanks for this, helped a bit.