API reference¶
The build and verification scripts live under scripts/ and run in two Python
environments:
- FontForge Python (
fontforge -lang=py -script) runsbuild_font,fira_ligatures, andcustomizations.*. - uv Python (
uv run --locked python) runsfinalize,validate, andproof. configis shared by both and uses the standard library only.
| Module | Runtime | Purpose |
|---|---|---|
config |
Shared (stdlib) | Family metadata, style names, upstream/Fira paths, ligature spec loading |
build_font |
FontForge | Per-style FontForge driver applying glyph customizations and ligatures |
fira_ligatures |
FontForge | Ligaturizer integration, script/language remapping, italic slanting, \|\| fitting |
finalize |
uv | fontTools post-processing: layout cleanup, .null width, side bearings, metadata |
validate |
uv | Table, metadata, outline, and HarfBuzz/CoreText shaping verification |
proof |
uv | Before/after PNG proof sheet renderer (HarfBuzz + FreeType) |
customizations |
FontForge | Customization contract, Style metrics, enforcement driver, outline and geometry helpers |
customizations.* |
FontForge | Individual glyph customization subclasses in pipeline order |