TF2 fonts: names, files and adding a font to a HUD

TF2 uses a handful of its own fonts for the menus and the HUD. All their names and files are listed in one file of the default HUD, clientscheme.res.

Which fonts TF2 uses

The default clientscheme.res has 164 font entries. Here are the game's own fonts, the file each one loads from and how many entries use it:

Font nameFile and use
TF2 Secondaryresource/TF2Secondary.ttf. Used 48 times, more than any other TF2 font. HudFontSmall is one of them.
TF2 Buildresource/TF2Build.ttf. Used 31 times, including for the ammo numbers (HudFontGiantBold).
TF2resource/TF2.ttf. Used 30 times, including for the health number (HudClassHealth).
ocraresource/ocra.ttf. Used 12 times, each time under a line that names OCR A Extended for Windows.
TF2 Professorresource/TF2Professor.ttf. Used 5 times.
Team Fortressresource/tf.ttf. Used twice.
tfdresource/tfd.ttf. Used once.

The file also uses fonts that aren't TF2's. Verdana shows up 81 times, more than any TF2 font, plus Tahoma, Arial, Trebuchet MS and Courier New. For Linux it lists font files in resource/linux_fonts: DejaVu Sans, Liberation Sans, Liberation Mono and Fira Sans.

Where the TF2 font files are

If you own the game, you already have the fonts. They're in the resource folder inside tf2_misc_dir.vpk, one of the game's VPK files, which you can open with GCFScape. TF2-Default-HUD by Hypnootize has an extracted copy of that folder: tf2.ttf, tf2build.ttf, tf2secondary.ttf, tf2professor.ttf, ocra.ttf, tf.ttf, tfd.ttf and tflogo.ttf.

This site doesn't host the font files. According to the TF2-extended-fonts readme (linked below), the TF2 fonts are copyright Andrea Wicklund and Valve, and you can use them for anything non-commercial.

How TF2 reads a font: clientscheme.res

Fonts are set up in two sections of clientscheme.res. CustomFontFiles lists the font files: each entry is either a file path, or a block with the path and the font name. Here's the start of that section in the default file, shortened:

CustomFontFiles
{
    "1" "resource/tf.ttf"
    "2" "resource/tfd.ttf"
    "3"
    {
        "font" "resource/TF2.ttf"
        "name" "TF2"
    }
}

The Fonts section then builds entries from those names. Each entry sets a size with tall, and antialias 1 smooths the edges. Here's the example entry from JarateKing's HUD reference:

"ExampleFont"
{
    "1"
    {
        "name"      "TF2 Build"
        "tall"      "44"
        "antialias" "1"
    }
}

HUD files refer to the entry name, not the font name. For example, the health number in hudplayerhealth.res has the line "font" "HudClassHealth", and HudClassHealth is an entry that uses the font TF2. The HUD editing guide covers the rest of the file.

How to add a font to a TF2 HUD

  1. Put the font file in the HUD. A .ttf or .otf, for example in resource/fonts.
  2. List it in CustomFontFiles. Add the file path and the font name. The reference says the name has to be the font's actual name, the one you see when you preview the font file.
  3. Use the name in a Fonts entry. Edit an existing entry or add a new one, and set tall.
  4. Restart TF2. The reference notes that hud_reloadscheme doesn't reload clientscheme.res.

TF2 fonts for more languages

TF2-extended-fonts by jakadak has versions of TF2, TF2 Build, TF2 Professor, TF2 Secondary and ocra with extra characters. Its readme lists 19 languages, including Russian and Ukrainian. To install it, copy customfontfiles.res and the fonts folder into the HUD's resource folder, then add #base "customfontfiles.res" at the top of clientscheme.res.

Fonts on Linux and Mac

On Linux and macOS, a HUD's fonts often won't load until you install them on the system. The install guide has the steps. For HUD makers, the reference says Linux fonts need 0.8 times their Windows size to look the same, and a line in CustomFontFiles can end in [$WINDOWS] or [$LINUX] to load a different file on each system.

HUDs with their own fonts

hud-db lists 76 HUDs that ship with custom fonts. See TF2 HUDs with custom fonts for screenshots and downloads.

Where this comes from

The font names, files and counts come from the game's clientscheme.res, hudplayerhealth.res and hudammoweapons.res as extracted in TF2-Default-HUD, last updated in October 2026. How the two sections work, the font name tip and the Linux notes are from TF2-Hud-Reference by JarateKing (MIT licence). The extended fonts and the copyright note are from the readme of TF2-extended-fonts. The HUD count is from hud-db.

Next

Change sizes and colours by hand with the HUD editing guide, check out the default HUD and its files, or install a HUD that uses a font you like.