Python wrapper for Adobe's PostScript autohinter
Project description
PSAutoHint
A standalone version of AFDKO’s autohinter.
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
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
Built Distributions
File details
Details for the file psautohint-1.9.2b2.zip
.
File metadata
- Download URL: psautohint-1.9.2b2.zip
- Upload date:
- Size: 223.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2d62f9b3e38a6d286c765d00e82282e1f854e65604f08b3c0d90717ed60bcd |
|
MD5 | 5bc7ac063f20032ce0cb08e353cb22aa |
|
BLAKE2b-256 | 64821b142a832b4f9afa1e06ea459e1b1f3993a0ad7cc2c94031f3e5fbcebaa2 |
File details
Details for the file psautohint-1.9.2b2-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 228.5 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39a5e60b23b2aec55f364d2728ca5d45496a95e0c78ecf03fc2e4c0df5dd9efb |
|
MD5 | 95513f782495fff3fa5bebb249177265 |
|
BLAKE2b-256 | 6604f01ba2fd90894dbb3e6cbb63211a553b6c49c63cd830d6afe1d76b9fdac1 |
File details
Details for the file psautohint-1.9.2b2-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 204.3 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a19ed9a1402af4712a9376c59830a4eac794f08068e5c489809b3cf05deb7bd |
|
MD5 | f35afb9e94f4089a1503001abae7f254 |
|
BLAKE2b-256 | 75b059ad24f82fdbd1a31ab90243deb5484221c6a78f370b992bc00b3dac984c |
File details
Details for the file psautohint-1.9.2b2-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
.
File metadata
- Download URL: psautohint-1.9.2b2-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
- Upload date:
- Size: 385.7 kB
- Tags: CPython 3.7m, macOS 10.10+ intel, macOS 10.10+ x86-64, macOS 10.6+ intel, macOS 10.9+ intel, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897bc701881fc5f108ca9181f5d1e3f1095079daf005fdaa2918a21d6b648385 |
|
MD5 | fcb60f64f2957675c822a22c6199904f |
|
BLAKE2b-256 | 5ba262ae7b5326789b038e7a986e5e1264eed289ab28d7c9739a60e7de23405a |
File details
Details for the file psautohint-1.9.2b2-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 228.5 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ec9ea47e84fece33916c1b2dcb9ab9ec5dd9d21fd53c8283bd4735f48c699f2 |
|
MD5 | 9db9c333b71cbc8debf38157972cba0f |
|
BLAKE2b-256 | 6de6d010126f5253c278360d452643f5d18d9dfd20f243f09dd494c5192de37c |
File details
Details for the file psautohint-1.9.2b2-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 204.3 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bcd39346ca847c7845d1c4b17c5a57e50fcc86909bdb670333337e6e461b69f |
|
MD5 | e84a955fee627f93fbdff79753874f62 |
|
BLAKE2b-256 | bb7adde54758c1c97827c7021a5f7b0da6123cb277bd5208d12c994065efe12a |
File details
Details for the file psautohint-1.9.2b2-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
.
File metadata
- Download URL: psautohint-1.9.2b2-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
- Upload date:
- Size: 385.7 kB
- Tags: CPython 3.6m, macOS 10.10+ intel, macOS 10.10+ x86-64, macOS 10.6+ intel, macOS 10.9+ intel, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 898d572fb8595e28bf90d5d7ca83880d5466bf792a49f971fd38b1b6a609a066 |
|
MD5 | 92c04f2959cf0464f81d75753533ce95 |
|
BLAKE2b-256 | d54fea7fec2556083a963e60c0c4dbe89555ace40fa53e6ee8c27b449a37ab63 |
File details
Details for the file psautohint-1.9.2b2-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 204.2 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a6debc960fcbdef2b5242e87316926cf17cb40233f1db789da5d84a7cc46c0d |
|
MD5 | 0de4074017b25b343eca814289ef3c81 |
|
BLAKE2b-256 | e4fa2989035873ccc2fa3e473df63ea6a3b221575a2ed3f1311ac6b03e9f8ce9 |
File details
Details for the file psautohint-1.9.2b2-cp27-cp27m-win32.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp27-cp27m-win32.whl
- Upload date:
- Size: 162.3 kB
- Tags: CPython 2.7m, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | abc6398c961c0cc316836fc71f56de3cb0f47036f50265c4afff015a0a95ba0b |
|
MD5 | 0160de799f97bb3ddde726145f8fe75a |
|
BLAKE2b-256 | 78a83076dcc5b8ebd03f75530ca7cca55cb5bf2abe668b2260ea0f7b8f0f66ce |
File details
Details for the file psautohint-1.9.2b2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
.
File metadata
- Download URL: psautohint-1.9.2b2-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
- Upload date:
- Size: 385.7 kB
- Tags: CPython 2.7m, macOS 10.10+ intel, macOS 10.10+ x86-64, macOS 10.6+ intel, macOS 10.9+ intel, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675222fd7f2ccd5fb71f5a4030ee0609eda089a44cc870eb498896c860460a76 |
|
MD5 | 74fd3a6aa485375cfc483562c7202a9c |
|
BLAKE2b-256 | 9c714033c9516c45d98b9b3f8c2158bcee0a8932d5c2c44f534e43225ec82d74 |