Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Test and Build Codecov PyPI Language grade: C/C++ Language grade: Python Total alerts

PSAutoHint

A standalone version of AFDKO’s autohinter.

NOTE: as of August 2019, only Python 3.6 or later is supported.

Building and running

This repository currently consists of a core autohinter written in C, a Python C extension providing an interface to it, and helper Python code.

To build the C extension:

python setup.py build

To install the C extension and the helper scripts globally:

pip install -r requirements.txt .

Alternatively to install them for the current user:

pip install -r requirements.txt --user .

The autohinter can be used by running:

psautohint

To build just the autohintexe binary:

python setup.py build_exe

Testing

We have a test suite that can be run with:

tox

Debugging

For standard debugging, build with:

python setup.py build --debug

It is also possible to build a debug version with AddressSanitizer ("ASan") support (currently for Mac OS X only) with:

python setup.py build --asan
pip install .

Once it is installed, you can use the util/launch-asan.sh shell script to launch a Python process that invokes the ASan libraries needed for debugging. Attach Xcode the launched process, then execute code in the process that triggers memory usage problems and wait for ASan to do its magic.

NOTE: be sure to build and install psautohint as described above; using other techniques such as python setup.py install will cause a re-build without ASan and debug support, which won't work.

Metadata

Release files for psautohint 2.4.0a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psautohint 2.4.0a0
File Size Uploaded
psautohint-2.4.0a0.tar.gz 186.2 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.4.0a0
File
psautohint-2.4.0a0-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
psautohint-2.4.0a0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0a0-cp39-cp39-macosx_10_9_x86_64.whl CPython 3.9 CPython 3.9 macOS 10.9+ x86-64 Details
psautohint-2.4.0a0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
psautohint-2.4.0a0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0a0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
psautohint-2.4.0a0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.4.0a0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.4.0a0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 1.5 MB

Release files / psautohint-2.4.0a0.tar.gz

Download URL psautohint-2.4.0a0.tar.gz
Size 186.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c3d538959ee7d60b302cd96f4e3b33765db42064b36514f31ff180d3ab97ea9a
BLAKE2b-256 checksum
How to use checksums
625c0e5e9013a6f166c66e0117ceb31e37c932b700cb2ad62886aaef5b233d0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp39-cp39-win_amd64.whl

Download URL psautohint-2.4.0a0-cp39-cp39-win_amd64.whl
Size 160.7 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
aef9edc6ce3947cb7fb5db987651a6e881d1ea5245506d5101c5d8908125a3e6
BLAKE2b-256 checksum
How to use checksums
5029e324a2bb9a1ff4a440320587f71787376ed1f26842f328f48cb103b71505
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0a0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.9 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
17eefec8a175f0e5289a0081537bab482e4775ce66f5ed85d1b190721606a959
BLAKE2b-256 checksum
How to use checksums
643179fa1cd1534663e5e82fd422673cd24439882d1075703edec0fa0f234236
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp39-cp39-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0a0-cp39-cp39-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.9 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
aeb3b9371b589039de68b6c32bef59a8f2fd11a947998d614cc844ccf1193126
BLAKE2b-256 checksum
How to use checksums
f78c168bd218bb9dc204fcb6646d74c6a7794641e42e236f4693b52b0a25e8d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp38-cp38-win_amd64.whl

Download URL psautohint-2.4.0a0-cp38-cp38-win_amd64.whl
Size 160.7 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
a5d884ad8f114cfb06d384638c5f89e2d987cc2dad85e8143133c53b7c3671b2
BLAKE2b-256 checksum
How to use checksums
a9f0896f1e628a5128ac63ec5b36e6e2775e6f03f55f1d843518f8a12086facc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0a0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
75434f445b7e86d78597e97eecc1c4206b7e7caf7ec3f5674c531b09cc666360
BLAKE2b-256 checksum
How to use checksums
95b977ae473d406720506b4a6ef1c98f0ee0556de4a5e6f9dcbf36c4cd843215
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0a0-cp38-cp38-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
f126aebbe82938b804092cd88a66b3715750e6cd438503229447ff608d1ff4e8
BLAKE2b-256 checksum
How to use checksums
55efa382307ba52764c60de75766239f29a8280b1974d691e39bbb5ca37b9caf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.4.0a0-cp37-cp37m-win_amd64.whl
Size 160.7 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
3b3292e7e7155b572f6b5e93136aa0faec86143c3f1cd1f108c01653bc48e1e0
BLAKE2b-256 checksum
How to use checksums
8b4b236efdc546faa0b6df230bee02b22c79af6436196ad27181013504aefee9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL psautohint-2.4.0a0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 144.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
eb457ba99d6518784514422d6ac1a3b59d7d8c26f8eece18f1a099ea73c02f85
BLAKE2b-256 checksum
How to use checksums
a7584e675366bf947d10eba179e1e793fb980829d19c25eb549162762e3809d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release files / psautohint-2.4.0a0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL psautohint-2.4.0a0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 132.4 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
101318c4be7a7fffad862f89537a5faa69bc481e614f18d5af6b51f8228813f3
BLAKE2b-256 checksum
How to use checksums
2f710d77e220d5988d72783712e9a69a4ec8400cf993e0c949f115e0387677ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

Release history Release notifications | RSS feed

This release

2.4.0a0 This release

10 release files

2.3.1

13 release files

2.3.0

13 release files

2.2.0

13 release files

2.1.1

10 release files

2.1.0

10 release files

2.0.1

10 release files

2.0.0

7 release files

1.9.3

10 release files

1.9.2

10 release files

1.9.0

10 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page