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.7 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-3.0.0b1.zip (308.1 kB view details)

Uploaded Source

Built Distribution

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

fontmake-3.0.0b1-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file fontmake-3.0.0b1.zip.

File metadata

  • Download URL: fontmake-3.0.0b1.zip
  • Upload date:
  • Size: 308.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fontmake-3.0.0b1.zip
Algorithm Hash digest
SHA256 2b7e71b476854f0c21720190ac090411ea05817413131255caf67bd9083b8acc
MD5 5fe87f8acd3a7d72f5edcc6266d2e633
BLAKE2b-256 cbf39c51cef2c7367d1423852e4e751243f3dad398f4eb4984bc04b24513eafe

See more details on using hashes here.

File details

Details for the file fontmake-3.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: fontmake-3.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fontmake-3.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e89509f92bfe693e9da5b6e5c3061f869e4870285f030fc3e755ba99ab153ad
MD5 ef4c91f8b1d29f7f208329a90369d8ef
BLAKE2b-256 e9d6532383e49503abc2ac3eb76f0c964b79cd9032b04c4f71caab802ab10391

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