Skip to main content

Compile fonts from sources (UFO, Glyphs) to binary (OpenType, TrueType).

Project description

Travis Build Status Python Versions PyPI Version

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

This version

2.0.7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fontmake-2.0.7.zip (278.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fontmake-2.0.7-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

Details for the file fontmake-2.0.7.zip.

File metadata

  • Download URL: fontmake-2.0.7.zip
  • Upload date:
  • Size: 278.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1

File hashes

Hashes for fontmake-2.0.7.zip
Algorithm Hash digest
SHA256 b48bdfd31aa81033d4d4018e90a3a438ab58b7ec2a61cba9e9ae023a8dfab5ba
MD5 db8ef1f85ccbef4aaecda4c95c53e2d4
BLAKE2b-256 ab32c2e573c0a0ff0893be3e0911b85ae8d8a827ce13eae12a4d77735e6df130

See more details on using hashes here.

File details

Details for the file fontmake-2.0.7-py3-none-any.whl.

File metadata

  • Download URL: fontmake-2.0.7-py3-none-any.whl
  • Upload date:
  • Size: 33.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.1

File hashes

Hashes for fontmake-2.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 99ea0f20d1a78e342888a4fcf5a4cea925ffb673f3fb858e13e7d461fa2d1020
MD5 1041eef4ccaf5cda8a41697747e3e991
BLAKE2b-256 102506478fea8390372382e7f82b6d2be8d9904ef6bd9e41d16a95ace408e08c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page