gum-tool-font-generation

Generate bitmap fonts for Gum projects using BmfcSave and bmfont.exe.

597|79|Updated Mar 11, 2015
One-click install
npx skills add https://github.com/vchelaru/Gum --skill gum-tool-font-generation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gum-tool-font-generation
Source: https://github.com/vchelaru/Gum/tree/main/.claude/skills/gum-tool-font-generation
Command: npx skills add https://github.com/vchelaru/Gum --skill gum-tool-font-generation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gum projects require consistent, high-quality bitmap fonts across the pipeline. This skill automates the generation of those fonts from font properties, templates, and caching rules, eliminating manual guesswork and ensuring stable outputs.

Core Features & Use Cases

  • Headless font generation pipeline: collects font properties, builds BmfcSave, writes .bmfc, and runs bmfont.exe to produce .fnt/.png pairs.
  • Deterministic caching and naming: uses FontCacheFileName to deduplicate outputs so identical settings reuse caches.
  • Texture size optimization: estimates necessary texture sizes or uses a heuristic to minimize pages and costs.
  • Standalone CLI and integration points: GumProjectFontGenerator, on-demand font creation from property changes, and bulk generation.

Quick Start

Run the Gum font generator to create all necessary font files for your project.

Frequently Asked Questions about gum-tool-font-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate bitmap font generation for Gum projects?

Automating bitmap font generation for Gum projects involves collecting font properties, building a BmfcSave model, writing a .bmfc template, and running bmfont.exe to produce .fnt and .png pairs. This pipeline supports both on-demand and bulk project-wide generation.

How does deterministic caching work for bitmap fonts?

Deterministic caching for bitmap fonts uses FontCacheFileName to deduplicate outputs, ensuring identical font settings reuse existing caches. This mechanism eliminates redundant generation passes and maintains stable, consistent font files across the pipeline.

Can I update a single font on-demand instead of regenerating all project fonts?

On-demand font creation from property changes is fully supported alongside bulk generation. You can trigger individual font updates or execute project-wide generation depending on your specific workflow requirements.

How is texture size optimized when generating .fnt and .png files?

Texture size optimization during .fnt and .png generation estimates necessary texture dimensions or applies a heuristic to minimize page count and memory costs, reducing overhead while maintaining font quality.

What is a BmfcTemplate.bmfc file used for in font generation?

A BmfcTemplate.bmfc file serves as the configuration template for bmfont.exe, defining font properties and settings. The generation pipeline builds a BmfcSave model, writes this .bmfc file, and executes bmfont.exe to create the final bitmap font outputs.

Do I need bmfont.exe to generate bitmap fonts for Gum?

Bmfont.exe integration is required to execute the final rendering phase of bitmap font generation. The pipeline writes the .bmfc configuration file and then invokes bmfont.exe to produce the actual .fnt and .png texture pairs.