Garry's Mod Wiki

Revision Difference

Default_Fonts#561008

<cat>Dev.UI</cat> This page describes a list of fonts available for use by default on all clients. You can create new custom fonts using <page>surface.CreateFont</page>. Note that you cannot use the fonts in this page directly as font names for <page>surface.CreateFont</page>! You must use the font resource name instead, as explained in: <page>Structures/FontData</page>. ## Game fonts These are the [fonts](https://github.com/Facepunch/garrysmod/tree/master/garrysmod/resource/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 ⤶ # Default fonts These fonts are defined in the [`ClientScheme.res`](https://github.com/Facepunch/garrysmod/blob/master/garrysmod/resource/ClientScheme.res) file: ⤶ * BudgetLabel⤶ * CenterPrintText⤶ * ChatFont⤶ ⤶ ### Normal⤶ ⤶ | Font Name | Font Image |⤶ | ----------------------- | ---------- |⤶ | BudgetLabel | <image src="aaf9e/8dc3808c896caa1.png" size="484" name="image.png" /> |⤶ | CenterPrintText | <image src="aaf9e/8dc3808d4366794.png" size="923" name="image.png" /> |⤶ | ChatFont | <image src="aaf9e/8dc3808e35877ff.png" size="457" name="image.png" /> |⤶ | CloseCaption_Bold | <image src="aaf9e/8dc3808f137332d.png" size="693" name="image.png" /> |⤶ | CloseCaption_BoldItalic | <image src="aaf9e/8dc380900be7106.png" size="918" name="image.png" /> |⤶ | CloseCaption_Italic | <image src="aaf9e/8dc38090d2b5c4c.png" size="745" name="image.png" /> |⤶ | CloseCaption_Normal | <image src="aaf9e/8dc38091808865e.png" size="746" name="image.png" /> |⤶ | CreditsOutroText | <image src="aaf9e/8dc380922bcb7a7.png" size="921" name="image.png" /> |⤶ | CreditsText | <image src="aaf9e/8dc3809319b5ecb.png" size="1093" name="image.png" /> |⤶ | DebugFixed | <image src="aaf9e/8dc380940e19dc6.png" size="839" name="image.png" /> |⤶ | DebugFixedSmall | <image src="aaf9e/8dc380949078a2b.png" size="1047" name="image.png" /> |⤶ | DebugOverlay | <image src="aaf9e/8dc380950f9ee8d.png" size="526" name="image.png" /> |⤶ | Default | <image src="aaf9e/8dc3809579a65d2.png" size="540" name="image.png" /> |⤶ | DefaultFixed | <image src="aaf9e/8dc38095e07528f.png" size="373" name="image.png" /> |⤶ | DefaultFixedDropShadow | <image src="aaf9e/8dc380967236bdd.png" size="732" name="image.png" /> |⤶ | DefaultSmall | <image src="aaf9e/8dc38097208d0f9.png" size="344" name="image.png" /> |⤶ | DefaultUnderline | <image src="aaf9e/8dc38097989beb9.png" size="376" name="image.png" /> |⤶ | DefaultVerySmall | <image src="aaf9e/8dc38097fbe014b.png" size="347" name="image.png" /> |⤶ | HudDefault | <image src="aaf9e/8dc380991575485.png" size="1129" name="image.png" /> |⤶ | HudHintTextLarge | <image src="aaf9e/8dc380998c27692.png" size="1033" name="image.png" /> |⤶ | HudHintTextSmall | <image src="aaf9e/8dc38099f28c3cf.png" size="974" name="image.png" /> |⤶ | HudSelectionNumbers | <image src="aaf9e/8dc3809a57abf74.png" size="1198" name="image.png" /> |⤶ | HudSelectionText | <image src="aaf9e/8dc3809aba4994f.png" size="1247" name="image.png" /> |⤶ | TargetID | <image src="aaf9e/8dc3809b3a9a770.png" size="487" name="image.png" /> |⤶ | TargetIDSmall | <image src="aaf9e/8dc3809bc130696.png" size="549" name="image.png" /> |⤶ | Trebuchet18 | <image src="aaf9e/8dc3809c43b6b8e.png" size="358" name="image.png" /> |⤶ | Trebuchet24 | <image src="aaf9e/8dc3809cb358050.png" size="1380" name="image.png" /> |⤶ ⤶ ⤶ ⤶ ⤶ ### Special Fonts⤶ * ClientTitleFont * CloseCaption_Bold⤶ * CloseCaption_BoldItalic⤶ * CloseCaption_Italic⤶ * CloseCaption_Normal⤶ * CreditsLogo * CreditsOutroLogos * CreditsOutroText⤶ * CreditsText⤶ * Crosshairs * DebugFixed⤶ * DebugFixedSmall⤶ * DebugOverlay⤶ * Default⤶ * DefaultFixed⤶ * DefaultFixedDropShadow⤶ * DefaultSmall⤶ * DefaultUnderline⤶ * DefaultVerySmall⤶ * HDRDemoText * HL2MPTypeDeath⤶ * HudDefault⤶ * HudHintTextLarge⤶ * HudHintTextSmall⤶ * HudNumbers * HudNumbersGlow * HudNumbersSmall * HudSelectionNumbers⤶ * HudSelectionText⤶ * Marlett * QuickInfo * TargetID⤶ * TargetIDSmall⤶ * Trebuchet18⤶ * Trebuchet24⤶ * WeaponIcons * WeaponIconsSelected * WeaponIconsSmall ⤶ The following fonts are Garry's Mod specific and are used by the Derma UI elements:⤶ * DermaDefault - 13px Tahoma (Helvetica on mac), anti-aliased⤶ * DermaDefaultBold - same as above, but bold and not anti-aliased⤶ * DermaLarge - Roboto, 32px, anti-aliased⤶ ⤶ The following font is used by the <page>notification</page>:⤶ * 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 <page>Notification</page>s⤶ * GModNotify ⤶ The following fonts are used by the default scoreboard in the base gamemode:⤶ ⤶ ## Base Gamemode Fonts⤶ * ScoreboardDefault * ScoreboardDefaultTitle ⤶ The following font is internally used by the workshop :⤶ * WorkshopLarge (only exists in Menu realm)⤶ ⤶ ## Menu Realm Fonts⤶ ⤶ * WorkshopLarge - Used Internally by the workshop⤶ ⤶ ⤶ ⤶ ⤶ Sample image: <upload src="fontlist.png" name="fontlist.png" /> ## 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 <page>ContentHeader</page>) ## 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