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.

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

fontmake-2.1.3.zip (280.5 kB view details)

Uploaded Source

Built Distribution

fontmake-2.1.3-py3-none-any.whl (34.6 kB view details)

Uploaded Python 3

File details

Details for the file fontmake-2.1.3.zip.

File metadata

  • Download URL: fontmake-2.1.3.zip
  • Upload date:
  • Size: 280.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for fontmake-2.1.3.zip
Algorithm Hash digest
SHA256 dd66c202dc1d1d5210ac027b02cd6340ae4704241b93fdeac308f7873fe671ee
MD5 4a8e5fdb651a0c55dca4f921774785f4
BLAKE2b-256 5b6000f925a3a65696bdecaad0f3282d14fce0a01132ac45ec84f8c51f5ff75a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fontmake-2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 34.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.1

File hashes

Hashes for fontmake-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fbcad334e2d1faa427d2c733cb6bf97bba8cd5e0f083ad79d43d1bbdaecde037
MD5 d21d195d1a960dd3410400e55bf1e02e
BLAKE2b-256 8cfa5879e0da04bf4e746298356e1d3f481cb2c06f9a0edfcd78a2c979aca0fd

See more details on using hashes here.

Provenance

Supported by

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