Babelfont: Load, examine and save fonts in a variety of formats
This describes Babelfont >3.0, which is a complete rewrite from the previous version.
Babelfont is a utility for loading fonts and examining fonts in a variety of formats. It can also be used to write fonts in some of these formats, making it possible to convert between font formats.
Here are the formats which are currently supported:
| Format | Read | Write |
|---|---|---|
| Glyphs 2 | partial | |
| Glyphs 3 | * | * |
| .glyphspackage | * | |
| UFO | * | |
| Designspace | * | |
| Fontlab VFJ | partial | |
| Fontlab VFB | partial | |
| TTF | partial | * |
| OTF | partial | |
| Glyphr Studio 2 | partial | |
| Fontforge SFD | partial | * |
| Fontforge SFDir | partial | * |
| Babelfont | * | * |
Babelfont converts all of the above font formats into a intermediary set of objects, whose object hierarchy can be seen here. The allows the developer to examine any font (single master or variable), without needing to worry about the details of each font format.
For example:
from babelfont import load
font = load("Myfont.glyphs") # Or .designspace, or whatever
default_a = font.default_master.get_glyph_layer("A")
top_anchor = default_a.anchors_dict["top"].x
print("Top anchor = (%i,%i)" % (top_anchor.x, top_anchor.y))
print("LSB, RSB = (%i,%i)" % (default_a.lsb, default_a.rsb))
font.save("Myfont.ttf")
Metadata
Release files for babelfont 3.2.0
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 |
|---|---|---|---|---|
| babelfont-3.2.0.tar.gz | 1.5 MB | With provenance | Details for babelfont-3.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| babelfont-3.2.0-py3-none-any.whl | Python 3 | none | any | Details for babelfont-3.2.0-py3-none-any.whl |
Total release size: 2.0 MB
Release files / babelfont-3.2.0.tar.gz
| Download URL | babelfont-3.2.0.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
772414c34151aa9435e748bb83b1dbb1edcc365df7a7bda6b46c3bbb840b0348
|
|
BLAKE2b-256 checksum How to use checksums |
33e2c046fdb49d5a4564538a11bf6b889908c9df6af70cdc2d82939377763a89
|
| 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 19, 2026.
Transparency logRelease files / babelfont-3.2.0-py3-none-any.whl
| Download URL | babelfont-3.2.0-py3-none-any.whl |
|---|---|
| Size | 563.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be6ddb15edff5a86cbfb9278762a345355549531e341e826fd7bf2634a088e98
|
|
BLAKE2b-256 checksum How to use checksums |
d3ce6dc34a587b8a8a346ecc8c0075f74e0721b49c8e53153d5f5750e54197e5
|
| 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 19, 2026.
Transparency logSecurity for babelfont 3.2.0
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 babelfont-3.2.0.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 19, 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.