Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).
Project description
fontmake
This library provides a wrapper for several other Python libraries which together compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf).
Installation
Fontmake requires Python 3.6 or later.
Releases are available on PyPI and can be installed with pip.
pip install fontmake
Use the -U, --upgrade option to update fontmake and its dependencies to the newest available release:
pip install -U fontmake
Alternatively, you can download the git repository and install from source:
git clone https://github.com/googlefonts/fontmake
cd fontmake
pip install .
Developers who want to quickly test changes to the source code without re-installing, can use the “–editable” option when installing from a local source checkout:
pip install -e .
It is recommended to install fontmake inside a “virtual environment” to prevent conflicts between its dependencies and other modules installed globally.
You could also use the pipx tool to automate the installation/upgrade of python apps like fontmake in isolated environments.
Usage
After installation, you can use the fontmake console script. For example:
fontmake -g MyFont.glyphs # outputs binary font files for masters only
Use fontmake -h to see options for specifying different types of input and output.
You can also use fontmake as a module to run intermediate steps in the build process, via methods of the fontmake.font_project.FontProject class.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fontmake-2.3.0.zip.
File metadata
- Download URL: fontmake-2.3.0.zip
- Upload date:
- Size: 305.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e6c5ba20e124d56fe68a9fcfa94caf20f5335f287b481decf2bd66c855e4ced
|
|
| MD5 |
ee1ba79141138326856175ed6db2d288
|
|
| BLAKE2b-256 |
9630e8d4f3e8f1fc4d6df5bec19565625e1a93210f501f573892b42b7ecea340
|
File details
Details for the file fontmake-2.3.0-py3-none-any.whl.
File metadata
- Download URL: fontmake-2.3.0-py3-none-any.whl
- Upload date:
- Size: 35.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a974d44764429affb954ab6e47a02e22d2bb95a59f316f76056c2ca3a0b1325
|
|
| MD5 |
0714c504433e7f250239ce88cddd0729
|
|
| BLAKE2b-256 |
db4b95502d15813a23f827649cfebc2d27beb7cd5f497af699959d2211127e5d
|