Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.2 KB

File metadata and controls

31 lines (17 loc) · 1.2 KB

Garry's Mod Font Health Manager

Logo

A lightweight utility that helps keep your dynamically created fonts under control in Garry's Mod.

This addon was originally created after noticing that some servers - especially those with many addons - repeatedly recreate the same fonts for no reason, bloating the engine's font list. By preventing duplicate font creation, this tool reduced the total number of active fonts on my setup from around 800 down to ~100 with lazy creation on, and ~700 lazy creation off.

Fewer duplicate fonts means:

  • Faster load times (skips unnecessary font creation)
  • Better memory management (avoids excessive font data in the engine)
  • Improved stability overall

Workshop Link


Installation

Make sure to drop the folder in addons/GFonts/lua/autorun/!!!!!0_gfonts.lua

Important: If you change the file name it might break as it must be loaded first before everything else!


Console Commands

gfonts_status - shows the current status

lua_dumpfonts (vanilla command, u can run it before adding gfonts to measure) - shows all currently loaded fonts in the engine