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
Hashes for babelfont-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ca9a26f1f3208d94bcbbcf82f235755be2468a0b344784b658d5658ff1fdc9 |
|
MD5 | bcb4738285acf5d160a54e820c99d955 |
|
BLAKE2b-256 | 9de64bda217f790b8dc911fcd6eac551a68de124e677b20997732ab5e3fed99d |