Registry / data / fontmake

fontmake

JSON →
library3.12.1pypypi✓ verified 81d ago

A Python library for compiling fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType). Version 3.11.1, requires Python >=3.9.

pip install fontmake
INSTALL
IMPORT
SIG · FONTMAKE
F
fontmake
datapythonv3.12.1
Install
4.3s avg
Import
Disk
83MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.12.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
build_error
glibc
py 3.103.910 runs
installs and imports cleanly · install 4.3s · import 0.000s · 84MB
83MB installed
● package 83MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fontmake
import fontmake
from fontmake import fontmake

Compile a DesignSpace file into a variable font.

from fontmake import run_from_designspace run_from_designspace('path/to/your.designspace', output_path='output.ttf')
fontmake --version
Debug
Known issues
deprecatedThe `fontmake.instantiator` module was moved to `ufo2ft.instantiator` in v3.9.0. Import from `ufo2ft.instantiator` instead.
fix
Replace `from fontmake.instantiator import ...` with `from ufo2ft.instantiator import ...`.
affects: >=3.9.0
breakingAs of v3.11.0, `USE_MY_METRICS` component flags are no longer automatically set for variable fonts. This can cause metric mismatches if your workflow depended on the old behavior.
fix
If you need `USE_MY_METRICS`, set it explicitly in your source or pass `--use-my-metrics` to fontmake (if available) or handle in post-processing.
affects: >=3.11.0
gotchaPython 3.8 support dropped in v3.11.0. The library requires Python >=3.9.
fix
Upgrade to Python 3.9 or later.
affects: >=3.11.0
gotchaThe `skipExportGlyphs` in DesignSpace lib overrides the UFO lib.plist key per the DS spec, but only since v3.10.1 for static TTFs. Prior versions may not respect the override correctly.
fix
Upgrade to >=3.10.1 or ensure the UFO lib.plist has the correct values.
affects: <3.10.1
Upgrade
Version history
3.12.1latest on PyPI · released Jun 2, 2026
Audit
Dependencies
fonttoolsrequiredrequired for font operations
glyphsLibrequiredrequired for Glyphs source support
ufo2ftrequiredrequired for UFO to binary compilation
ufoLib2requiredrequired for UFO file I/O
skia-pathopsoptionaloptional for path optimization
ttfautohint-pyoptionaloptional for hinting
Agent activity
10 hits · last 30 days
node
8
Resources
fontmake — pip install fontmake · libregistry