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.
Alternatively, we also provide a self-contained, standalone version of fontmake that only requires a Python 3.6 or 3.7 installation to run. These are available to download from the fontmake Github releases page. You simply unzip them and run the included fontmake command from your console.
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
Hashes for fontmake-2.0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b14fad48a34d7dc68802f1a9abb5ae2cba8970d6a2757da69f1640586b6d61c9 |
|
MD5 | 01d12606f920d3fcd176c1bf8297f485 |
|
BLAKE2b-256 | 9594de187bbbb5e40275a40af4c03c410bb39c1c0f03ac4e36c6ba82386908d1 |