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 2.7, 3.5 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/googlei18n/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

1.9.0

Download files

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

Source Distribution

fontmake-1.9.0.zip (60.9 kB view details)

Uploaded Source

Built Distribution

fontmake-1.9.0-py2.py3-none-any.whl (24.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file fontmake-1.9.0.zip.

File metadata

  • Download URL: fontmake-1.9.0.zip
  • Upload date:
  • Size: 60.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for fontmake-1.9.0.zip
Algorithm Hash digest
SHA256 8826e52fe968e7fc253ac7a5fd4f179abdb5df21f6599d9042d29bacacc5c444
MD5 1dfc22e5e714427d79fa36a35f8caf76
BLAKE2b-256 f53238ff68218c722d6ea179e1f63bcebae3d254b1892c7918d7be46a3f024ae

See more details on using hashes here.

Provenance

File details

Details for the file fontmake-1.9.0-py2.py3-none-any.whl.

File metadata

  • Download URL: fontmake-1.9.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for fontmake-1.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7f9bcde6afae3050c733a9ed5ecef917004e29bdb5975a0a64b5d9f491fca416
MD5 971a0fe8348a9414a17145b774d40c19
BLAKE2b-256 dc296c96056b444a8dc4b01f224f8eefa5f57d377926759355a161c8000f4e49

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