this_file: README.md
FontLab for external Python
Install FontLab 9 and automate its desktop application from ordinary Python. Version 1.0.0 is published as fontlab, fontgate and fontpr; the GitHub release contains all three wheels and source archives.
uv pip install fontlab
fontlab-cli latest --beta
fontlab-cli install --beta
fontlab-cli launch
fontlab-cli submit my-script.vfpy
fontlab-cli eval 'fontlab.__name__'
fontlab-cli run automation.py
fontlab-cli tools
fontlab-cli call list_fonts --arguments '{}'
install, launch, submit and remote commands install FontLab automatically
when it is absent. --beta selects the beta appcast for a new installation;
an existing installation is reused unchanged, even if older or newer than the
feed. There is no automatic upgrade or downgrade. latest only reads the feed.
All command options follow the command name; --verbose shows a traceback.
On macOS, the default new destination is ~/Applications/FontLab 9.app.
An existing /Applications/FontLab 9.app is also recognized. To select a different
bundle, pass --destination '/path/to/FontLab 9.app'.
On Windows, run installation from an elevated terminal: the shipped Inno
installer requires administrator privileges. Its default is
%ProgramFiles%\Fontlab\FontLab 9\FontLab 9.exe. --destination takes the full
executable path. Silent flags suppress setup UI and prohibit restarts or closing
applications; they cannot bypass Windows UAC. Normal launch and automation do not
need elevation after installation. Linux is unsupported.
Downloads use the official platform appcasts over HTTPS, bounded network and installer waits, and enclosure length checks. A SHA-256 is checked if supplied by the feed. Current feeds supply Sparkle signatures, not SHA-256 hashes; this package does not verify those signatures. The unattended macOS installer automatically accepts the disk image’s licence prompt. Use installation only if you accept FontLab’s licence terms; activation and entitlement remain separate. The disk image is detached on copy failure. Existing destination files are never replaced intentionally.
import fontlab
fontlab.launch(beta=True)
with fontlab.connect(timeout=30) as app:
print(app.eval('fontlab.__name__'))
print(app.fonts())
Automation uses fontlab-remopy,
including its authenticated MCP transport and execution result handling.
connect, run, eval, tools and call wait for FontLab's native MCP
catalogue before sending the requested operation. If needed, Remopy submits one
setup macro to enable external MCP access and hide warning dialogs, confirms
its execution, then waits for MCP readiness. --timeout bounds startup readiness
(30 seconds by default) and applies separately to each subsequent remote call.
Only readiness checks repeat; scripts and tool calls are never retried.
The setup macro changes the MCP and warning preferences persistently. A modal
startup dialog shown before FontLab accepts scripts still needs dismissal;
the macro cannot run until then.
run returns JSON with value, stdout and stderr; remote scripts assign
result for a return value. submit hands a .vfpy file to FontLab and does
not claim execution finished. On Windows file submission uses FontLab's executable.
A native MCP bridge must be present for run, eval, tools and call;
otherwise use submit.
Timeouts can mean an operation executed without a response: inspect the host
before repeating a mutating command. FontLab 9.1.9813 has a reported native bridge
crash; use script submission on affected builds rather than MCP commands.
This is not the native fontlab binary API. Use these packages only in an
external Python environment, never install them in FontLab's embedded Python.
Inside FontLab, its native fontlab, fontgate and fontpr modules provide the
real font-editing API. Outside it, the fontgate and fontpr PyPI distributions
are explanatory stubs that raise ImportError. They do not emulate native types.
FontLab licensing and activation remain the normal desktop application's process;
installation does not grant a licence or bypass activation.
Development and releases
./test.sh -q
ALLOW_DEV=1 ./build.sh # development version from git
./release.sh # commit, patch bump, push and build all three packages
./publish.sh # release, then upload all three through PyPI OIDC
./publish.sh minor # or major
release.sh reuses pypitrust's uvx gitnextver flow: it fetches, fast-forwards
the tracked branch, commits pending changes, bumps the semver tag and pushes
through installed hooks. A clean, already tagged HEAD is reused. Run it only
from a reviewed release checkout. publish.sh runs this release step first.
All three packages use the same repository tags through hatch-vcs. Build artifacts
are collected in dist/vMAJOR.MINOR.PATCH (dist/dev for development). Publishing uses the multi-package upload helper generated
by pypitrust. All three projects now
have Trusted Publishers for repository Fontlab/fontlab-pypi, workflow
pypi-upload.yml, environment pypi; ./publish.sh publishes them together.
The initial release registered and uploaded fontlab, then fontgate, then
fontpr, because PyPI rejects simultaneous pending publishers with identical
repository/workflow/environment tuples. Each upload converted its pending
publisher before the next registration.
The helper retains failed staging drafts for retry. No PyPI API token is required.
Actual desktop installation, host automation and PyPI publication are separate checks; see WORK.md for the verified scope and TODO.md for outstanding acceptance checks.
Metadata
Release files for fontlab 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fontlab-1.0.2.tar.gz | 25.5 kB | With provenance | Details for fontlab-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fontlab-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for fontlab-1.0.2-py3-none-any.whl |
Total release size: 40.3 kB
Release files / fontlab-1.0.2.tar.gz
| Download URL | fontlab-1.0.2.tar.gz |
|---|---|
| Size | 25.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff1301d3ec19a95f3b957523ec0a1fa68a2164da792ee2708354927c2ea5d8d6
|
|
BLAKE2b-256 checksum How to use checksums |
7199861cccff6eb555231a93c8ebe851a4e83a424341771853ec4fbb740783ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / fontlab-1.0.2-py3-none-any.whl
| Download URL | fontlab-1.0.2-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
372cf233e51e81d492e5bedcab804698b3f02f9275c1f9fc0b6d9c63e06daea1
|
|
BLAKE2b-256 checksum How to use checksums |
086ebb4e5fd1656752c310ea6897c95dc22515d5ca27809c067adeffef61c1d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for fontlab 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for fontlab-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.