Skip to content

Instantly share code, notes, and snippets.

@schalkburger
Last active June 7, 2023 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schalkburger/3ee32c3155fc852043679f4b8f9269ed to your computer and use it in GitHub Desktop.
Save schalkburger/3ee32c3155fc852043679f4b8f9269ed to your computer and use it in GitHub Desktop.
Counter-Strike: Global Offensive fontmapping.cfg file
"english"
{
// * each section must include a "fontlib" key with the path to the fontlib swf
"fontlib" "resource/flash/fontlib.swf" [$WIN32||$OSX]
"fontlib_latin" "resource/flash/fontlib_latin.swf" [$X360||$PS3]
"fontlib_russian" "resource/flash/fontlib_russian.swf" [$X360||$PS3]
"fontlib_schinese" "resource/flash/fontlib_schinese.swf" [$PS3]
"fontlib_tchinese" "resource/flash/fontlib_tchinese.swf" [$X360||$PS3]
"fontlib_japanese" "resource/flash/fontlib_japanese.swf" [$X360||$PS3]
"fontlib_korean" "resource/flash/fontlib_korean.swf" [$X360||$PS3]
// * each exported font name must contain two keys
// * "font" which is the name of the font as defined in the fontlib swf
// * "style" which should be one of "normal" "bold" "italic" or "bolditalic"
// The fonts we have in fontlib.fla are:
// "Stratum2 Bold", "normal"
// "Stratum2 Regular", "normal"
// "Stratum2 Medium", "normal"
// "Arial Unicode MS", "normal" --- this is the fallback font
// We are MISSING the following, which are now mapped to Stratum2 Regular:
// "Counter-Strike"
// "Forgotten Futurist"
// "cs"
"$BigButtonFont"
{
"font" "MY_FONT"
"style" "bold"
}
"$CounterStrike"
{
"font" "Stratum2 Regular"
"style" "normal"
}
"Forgotten Futurist"
{
"font" "Stratum2 Regular"
"style" "normal"
}
"$TextFontLight"
{
"font" "MY_FONT"
"style" "bold"
}
"$BodyText"
{
"font" "PF DinText Pro"
"style" "normal"
}
"$TextFont"
{
"font" "MY_FONT"
"style" "bold"
}
"$TextFontBold"
{
"font" "MY_FONT"
"style" "bold"
}
"$cs"
{
"font" "Stratum2 Regular"
"style" "normal"
}
"$ThaiTest"
{
"font" "iannnnnPDF 2008"
"style" "normal"
}
"$ArialDefault"
{
"font" "Arial Unicode MS"
"style" "normal"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment