Abstract interface to font source files based on fontParts
Project description
babelfont
Read font files into fontParts objects and write them out again.
Usage
Here’s how to convert a font from one format to another (from the command line):
babelfont My-Font.glyphs My-Font.ufo
Here’s how to convert a font from one format to another (from a Python script):
from babelfont import Babelfont font = Babelfont.open("My-Font.glyphs") font.save("My-Font.ufo")
To interact with the font object, see the fontParts documentation.
Currently Babelfont supports:
UFO (Read and write)
Glyphs (Read and write)
OTF (Read only)
TTF (Read only)
Fontlab VFJ (Read only)
Free software: Apache Software License 2.0
History
2.0.2 (2020-02-08)
Fix source distribution, move to setuptools_scm
2.0.1 (2020-02-04)
Add the concept of an exported/unexported glyph
Revert “Ignore unexported glyphs”
Ignore missing date
Ignore unexported glyphs
Fix VFJ test
2.0.0 (2020-01-25)
Rewrite to load in font data directly instead of proxying. New interface.
Fix anchors, color loading
Add variable font abstraction layer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file babelfont-2.0.2.tar.gz
.
File metadata
- Download URL: babelfont-2.0.2.tar.gz
- Upload date:
- Size: 639.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fe45910e0260f17045c6860a0e04c387af95fb795ad180131c7b33f6a3db40a |
|
MD5 | e30642ac431886d3cf101b5ae47c5e62 |
|
BLAKE2b-256 | 79c95efd5e0708ef91aa4005cbfdb4880a4984bd566c63b8d329acfc2c85bc8c |
Provenance
File details
Details for the file babelfont-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: babelfont-2.0.2-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ca9a26f1f3208d94bcbbcf82f235755be2468a0b344784b658d5658ff1fdc9 |
|
MD5 | bcb4738285acf5d160a54e820c99d955 |
|
BLAKE2b-256 | 9de64bda217f790b8dc911fcd6eac551a68de124e677b20997732ab5e3fed99d |