Skip to main content

Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts

Project description

CI Status

ttfautohint-py

ttfautohint-py is a Python wrapper for ttfautohint, a free auto-hinter for TrueType fonts created by Werner Lemberg (@lemzwerg).

As of v0.6, it runs the ttfautohint executable as a subprocess. Previous versions used ctypes to load the libttfautohint shared library, but that was hard to maintain and complicated to keep up to date with upstream ttfautohint hence we decided to switch to a simpler subprocess approach (cf. #15).

Binary "wheel" packages are available for Linux (manylinux2014), macOS and Windows, for Python 3.9+, with 32 and 64 bit architecture. They can be installed from the Python Package Index (PyPI) using the pip installer.

$ pip install ttfautohint-py

The wheels include a precompiled ttfautohint executable which has no other dependency apart from system libraries. The FreeType and the HarfBuzz libraries are compiled from source as static libraries and embedded in ttfautohint.

To compile the ttfautohint-py package from source on Windows, you need to install MSYS2 and the latest MinGW-w64 toolchain. This is because the ttfautohint build system is based on autotools and thus requires a Unix-like environment.

A Makefile is used to build the library and its static dependencies, thus the GNU make executable must be on the $PATH, as this is called upon by the setup.py script.

Project details


Download files

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

Source Distribution

ttfautohint_py-0.6.1.tar.gz (48.8 MB view details)

Uploaded Source

Built Distributions

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

ttfautohint_py-0.6.1-py3-none-win_amd64.whl (18.2 MB view details)

Uploaded Python 3Windows x86-64

ttfautohint_py-0.6.1-py3-none-win32.whl (18.1 MB view details)

Uploaded Python 3Windows x86

ttfautohint_py-0.6.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (13.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

ttfautohint_py-0.6.1-py3-none-macosx_10_9_universal2.whl (2.0 MB view details)

Uploaded Python 3macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file ttfautohint_py-0.6.1.tar.gz.

File metadata

  • Download URL: ttfautohint_py-0.6.1.tar.gz
  • Upload date:
  • Size: 48.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ttfautohint_py-0.6.1.tar.gz
Algorithm Hash digest
SHA256 c413522ed77cb16c262a1d748113a6d9e7fb9e565775ed57a7657ce7323e23e4
MD5 f7bf8c632d0ee5a2af5a5b446108b0c4
BLAKE2b-256 835cd33e63056c795903c44b0f62766052c7d2a3e4d1114b5aab03c457129e5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfautohint_py-0.6.1.tar.gz:

Publisher: ci.yml on fonttools/ttfautohint-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ttfautohint_py-0.6.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for ttfautohint_py-0.6.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5eb9448184c1d53ff891f1b09c388bf69578e5f66321474f17a93e8cd96eebd3
MD5 8e394b21278174983a041ce0059fcbe0
BLAKE2b-256 5b6bd6263027913a1e75c5d41577370463352cccb648ccdc490e4cc27574d04a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfautohint_py-0.6.1-py3-none-win_amd64.whl:

Publisher: ci.yml on fonttools/ttfautohint-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ttfautohint_py-0.6.1-py3-none-win32.whl.

File metadata

  • Download URL: ttfautohint_py-0.6.1-py3-none-win32.whl
  • Upload date:
  • Size: 18.1 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ttfautohint_py-0.6.1-py3-none-win32.whl
Algorithm Hash digest
SHA256 b13ce29c857de1e8730849a3ac94a097a42c8e46a81e0f53408fceaa421a7431
MD5 5b9d604497573bfbb56e659d2ab8de0c
BLAKE2b-256 1556b0c38297f27312926931bcdb1ad2387eaf56b22f75f8b71080cfa6ae2246

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfautohint_py-0.6.1-py3-none-win32.whl:

Publisher: ci.yml on fonttools/ttfautohint-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ttfautohint_py-0.6.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for ttfautohint_py-0.6.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 90250631e8646c96a01fdae1736191b021811e41923a7b8259b07690466b7e7d
MD5 f3a8f6e142283a82a9092912b2156058
BLAKE2b-256 5cbd8f31064345cd131a7d4d9f1442c7c2fe5796c6e0325afb0f3011c11fd0b4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfautohint_py-0.6.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: ci.yml on fonttools/ttfautohint-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ttfautohint_py-0.6.1-py3-none-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for ttfautohint_py-0.6.1-py3-none-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a7d621dcdebd5a6ca09f8068e8192e624514d503029dc6dd3d63837bf3891c2e
MD5 b1b84b42569084fd6c0410377ddebb5d
BLAKE2b-256 0f924cda76fa204369dc53971d12de1bda794f0c45391346ed008dcb73685aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for ttfautohint_py-0.6.1-py3-none-macosx_10_9_universal2.whl:

Publisher: ci.yml on fonttools/ttfautohint-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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