Files and Fonts

This section covers file loading and font setup for Gum projects. The font pages form a small hub: start at Fonts to pick a strategy, then follow the links from there for detail.

Fonts

  • Fonts — start here. Decision tree: which font strategy fits your game.

  • Font Strategies — detailed walkthroughs of each strategy with code samples.

  • Font Performance — where the costs live (generation, memory, draw calls).

  • Font Preloading — making sure every font/size/style your game uses is ready before gameplay starts.

  • Fonts on Web — bandwidth vs CPU tradeoffs for web targets.

  • Font Localization — current behavior and the planned per-locale system.

  • Font Cache — the build-time .fnt atlas system.

  • BitmapFont — text measurement API and character info.

Files

Last updated

Was this helpful?