Skip to main content

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

Project description

GitHub Actions 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.4.0.zip (305.7 kB view details)

Uploaded Source

Built Distribution

fontmake-2.4.0-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file fontmake-2.4.0.zip.

File metadata

  • Download URL: fontmake-2.4.0.zip
  • Upload date:
  • Size: 305.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for fontmake-2.4.0.zip
Algorithm Hash digest
SHA256 2c14d12e56e7f8dee186c451239a82b55ddffec9931c0d1b09fdd6c1fb81ee23
MD5 fbcb069ef99ad5ecd634237afd994ae6
BLAKE2b-256 8846ae145e36afc8fa583b19f373305201240955dd09c79cffdd75e5c2881b1a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: fontmake-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for fontmake-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0a745f405d452dc905bb1d25bc508816791d3bf3fdb82f8f8a5137f82077a3a
MD5 44c5a430c9d10917046cddcc7c8152b3
BLAKE2b-256 59e96f4b27ee5c07d3bfd0cda8b7ef3828531c61f2d059a40be5570509ecafa5

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