Default Fonts
This page describes a list of fonts available for use by default on all clients.
You can create new custom fonts using surface.CreateFont. Note that you cannot use the fonts in this page directly as font names for surface.CreateFont! You must use the font resource name instead, as explained in: FontData structure.
Game fonts
These are the fonts the game gets shipped with:
- Roboto-Black
- Roboto-BlackItalic
- Roboto-Bold
- Roboto-BoldCondensed
- Roboto-BoldCondensedItalic
- Roboto-BoldItalic
- Roboto-Condensed
- Roboto-CondensedItalic
- Roboto-Italic
- Roboto-Light
- Roboto-LightItalic
- Roboto-Medium
- Roboto-MediumItalic
- Roboto-Regular
- Roboto-Thin
- Roboto-ThinItalic
Default fonts
These fonts are defined in the ClientScheme.res
file:
Normal
Font Name | Font Image |
---|---|
BudgetLabel | |
CenterPrintText | |
ChatFont | |
CloseCaption_Bold | |
CloseCaption_BoldItalic | |
CloseCaption_Italic | |
CloseCaption_Normal | |
CreditsOutroText | |
CreditsText | |
DebugFixed | |
DebugFixedSmall | |
DebugOverlay | |
Default | |
DefaultFixed | |
DefaultFixedDropShadow | |
DefaultSmall | |
DefaultUnderline | |
DefaultVerySmall | |
HudDefault | |
HudHintTextLarge | |
HudHintTextSmall | |
HudSelectionNumbers | |
HudSelectionText | |
TargetID | |
TargetIDSmall | |
Trebuchet18 | |
Trebuchet24 |
Special Fonts
- ClientTitleFont
- CreditsLogo
- CreditsOutroLogos
- Crosshairs
- HDRDemoText
- HudNumbers
- HudNumbersGlow
- HudNumbersSmall
- Marlett
- QuickInfo
- WeaponIcons
- WeaponIconsSelected
- WeaponIconsSmall
- HL2MPTypeDeath
Derma Defaults
Font Name | Font Details |
---|---|
DermaDefault | 13px Tahoma (Helvetica on mac), anti-aliased |
DermaDefaultBold | same as above, but bold and not anti-aliased |
DermaLarge | Roboto, 32px, anti-aliased |
Notification Font
Font used in Notifications
- GModNotify
Base Gamemode Fonts
- ScoreboardDefault
- ScoreboardDefaultTitle
Menu Realm Fonts
- WorkshopLarge - Used Internally by the workshop
Sample image:
Sandbox fonts
Used by the tool gun:
- GModToolName
- GModToolSubtitle
- GModToolHelp
- GModToolScreen - Used in the tool gun screen
- ContentHeader - Used by the spawnmenu headers
- GModWorldtip - Used by the world tips, when looking at Sandbox entities
Internally used:
- ContentHeader (used by the ContentHeader)
Trouble In Terrorist Town fonts
Generally used:
- DefaultBold
- TabLarge
- Trebuchet22
Used by the HUD:
- TraitorState
- TimeLeft
- HealthAmmo
Used by the Scoreboard:
- cool_small
- cool_large
- treb_small