Skip to main content
Pre-release

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

Travis AppVeyor Codacy Codecov PyPI

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.0.0a2

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.0.0a2
File Size Uploaded
psautohint-2.0.0a2.zip 228.1 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for psautohint 2.0.0a2
File
psautohint-2.0.0a2-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
psautohint-2.0.0a2-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.0.0a2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.9+ x86-64, macOS 10.10+ x86-64, macOS 10.9+ Intel (x86-64, i386) Details
psautohint-2.0.0a2-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
psautohint-2.0.0a2-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
psautohint-2.0.0a2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.10+ Intel (x86-64, i386), macOS 10.6+ Intel (x86-64, i386), macOS 10.10+ x86-64, macOS 10.9+ x86-64, macOS 10.9+ Intel (x86-64, i386) Details

Total release size: 1.9 MB

Release files / psautohint-2.0.0a2.zip

Download URL psautohint-2.0.0a2.zip
Size 228.1 kB
Tags Source
SHA-256 checksum
How to use checksums
94c4736f5ac24b3284bd63969cc855dfa63a03047cd445f403bc28c949bdae8e
BLAKE2b-256 checksum
How to use checksums
75ce835faf4b4a4e1a5e434347edb25e06620853b3c13c3eee00e3ef836b73b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

Release files / psautohint-2.0.0a2-cp37-cp37m-win_amd64.whl

Download URL psautohint-2.0.0a2-cp37-cp37m-win_amd64.whl
Size 233.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
a2c6c9f52208e649f11cae4e0b9e7db787faa193bff61fb81b90b864c373d855
BLAKE2b-256 checksum
How to use checksums
5b1a9f3b6ccb1ff9524842b210f1fea8065b60202152c3118312eff2eb26153a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / psautohint-2.0.0a2-cp37-cp37m-manylinux1_x86_64.whl

Download URL psautohint-2.0.0a2-cp37-cp37m-manylinux1_x86_64.whl
Size 208.1 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
3915292d461dfd130aad2cae1d71667353cdc4f66d7ebba1bf3724bec7e282f7
BLAKE2b-256 checksum
How to use checksums
03e9e7ad3898a9e1de95a0dae8565a0e82c416ba07072cfb15a40f2597696454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

Release files / psautohint-2.0.0a2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL psautohint-2.0.0a2-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 389.0 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
237ad1764282d83b09c93c50ee8ec591e52e80b78d4bb95c0c309d00361bd835
BLAKE2b-256 checksum
How to use checksums
4b3eb8ea27668cf250d0a8ba59d8701242b8ab481491642b759c507f52324f29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

Release files / psautohint-2.0.0a2-cp36-cp36m-win_amd64.whl

Download URL psautohint-2.0.0a2-cp36-cp36m-win_amd64.whl
Size 233.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
21d4cbf390833772290cc62a31c18a18001b3115ebc2afe6d403943ba944b8e8
BLAKE2b-256 checksum
How to use checksums
9d3573858464950d7f39c350fc605cd7c55a802c184b695fe32ddfe32ae10d86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / psautohint-2.0.0a2-cp36-cp36m-manylinux1_x86_64.whl

Download URL psautohint-2.0.0a2-cp36-cp36m-manylinux1_x86_64.whl
Size 208.1 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
af6773d09a37b0ed4c78f7c5da847c0e1673d404d6818738566ce7b8a323ce01
BLAKE2b-256 checksum
How to use checksums
fe16fee15c25dc9d6ee58a639ecc2a20d6f15cfc65dc2380ce23456ec3018181
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.3

Release files / psautohint-2.0.0a2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl

Download URL psautohint-2.0.0a2-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Size 389.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.10+ Intel (x86-64, i386) macOS 10.10+ x86-64 macOS 10.6+ Intel (x86-64, i386) macOS 10.9+ Intel (x86-64, i386) macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
ad6ef6b9125fbe6334f35b24348d30326c212cc653e4fcf01942624603c5b782
BLAKE2b-256 checksum
How to use checksums
6ba47dcc3b79930dd0f6cd3199e6ba8cc976bfa2c6a1e01fa6509f2d4a5a405c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.6

Release history Release notifications | RSS feed

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

This release

2.0.0a2 This release

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