fonts
gumcli fonts <project.gumj>Scans all elements and states for font references and generates any missing bitmap font files (.fnt + .png) in the project's FontCache/ folder.
The backend used to bake fonts is chosen by the project's Font Generator setting (see Font Settings):
KernSmith — cross-platform. Runs on Windows, Linux, and macOS. This is the default for new projects.
BMFont — runs
bmfont.exe, which only exists on Windows. On Linux and macOS,gumcli fontsgenerates a BMFont project's fonts with KernSmith instead.
Options
<project.gumj>— Path to the.gumjor.gumxproject file
Examples
gumcli fonts MyProject/MyProject.gumjNotes
Scans all elements and states for Font + FontSize variable pairs
Skips fonts whose output files already exist in
FontCache/— only missing files are generatedOutput files are written to
FontCache/next to the.gumjfile
Exit Codes
0
All missing fonts generated successfully
1
An error occurred during font generation
2
Project could not be loaded
Last updated
Was this helpful?

