Python wrapper for Adobe's PostScript autohinter
Project description
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
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-2.0.0a0.zip
.
File metadata
- Download URL: psautohint-2.0.0a0.zip
- Upload date:
- Size: 227.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | adaecf381be2f95e81aaaf279a91a6571fc9483303830e11d8d49e2ec7372bac |
|
MD5 | a4ce614157f4a739b1c961afcbfbcb6b |
|
BLAKE2b-256 | d92b889d5fc7d8f8d7295a4bbc46f43b071e69897555c2d49b731eda64f046c8 |
File details
Details for the file psautohint-2.0.0a0-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: psautohint-2.0.0a0-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 230.7 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.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c09d28cd71ecbdc8c52c94e55eefab17348790a027852e2dbd918c3ed475f63 |
|
MD5 | 9555cd2da87a2c54a08300037737bd4b |
|
BLAKE2b-256 | 02102d8448baba59c630157399c6366c5a8d8c64ebf21680d7a7208dc0c8a1dc |
File details
Details for the file psautohint-2.0.0a0-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: psautohint-2.0.0a0-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 205.8 kB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc60db478ae607f348900f0522c9f2d58605227b3f88d8fe9be8448d0fdfee7c |
|
MD5 | 16583eb27b16dd2421c23730cf976100 |
|
BLAKE2b-256 | b0963fc4d085d760431de9eb538bad4664b0fe38e682719a955816999721cc14 |
File details
Details for the file psautohint-2.0.0a0-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-2.0.0a0-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.6 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.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 966377a10b1a6e05a005cf5501507d7a49879944b792ff454ca996644a2f2e01 |
|
MD5 | 4123cd7ae19ed0918ac612e8477fe771 |
|
BLAKE2b-256 | e2fe159ba210576cde6e46f82bd492dfb64ff3abd006b52da633d9a38cb1cb41 |
File details
Details for the file psautohint-2.0.0a0-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: psautohint-2.0.0a0-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 230.7 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.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ffcdd4c81c95b919f5ce3dc007abed6e31d2527b9c2ccef190e254d15eaba57 |
|
MD5 | 2ae693c8da99704cac5d506094836a44 |
|
BLAKE2b-256 | 46afbf4bb563a0fc3fecd66e78b372683a5f90f7adf9d8fc2081c578bc9766e2 |
File details
Details for the file psautohint-2.0.0a0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: psautohint-2.0.0a0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 205.8 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91783e5c8179e943fe442c99e3fa515431fbb25f54129b39d7ef3db9479ee236 |
|
MD5 | 137591e492f46e86dd0634f4b7456aff |
|
BLAKE2b-256 | f9784078aa37ac8a70429f5fb3a16f6e05d80e8fd63f5b81b84b84c2f631e121 |
File details
Details for the file psautohint-2.0.0a0-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-2.0.0a0-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.6 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.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347a2715a6817ae9336d0a2a4b408e4b48326c80cabe8bc3e8fb5183fa2329f1 |
|
MD5 | 7106d36fe7649ac13e63e27393c189dc |
|
BLAKE2b-256 | 8253aff9e12b6b959c81ce12cfd01a8db404c2ae516a189f45c22dd4ba67cc54 |