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
Building autohintexe
binary requires meson and
ninja:
meson _build libpsautohint
ninja -C _build
ninja -C _build install
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
psautohint-1.7.1b3.zip
(213.3 kB
view hashes)
Built Distributions
Close
Hashes for psautohint-1.7.1b3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d1ee94341f7e22d6aa064b93bb8f7232067b89c9bb0124451be5134116ef1d7 |
|
MD5 | 734e12604b7e70bde2f6e9a37a86eeaa |
|
BLAKE2b-256 | 5e7cc9f9c48eca1ae3e13f2468521e365d4ad5d9ca58f3f4b23f712b8567731d |
Close
Hashes for psautohint-1.7.1b3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c1e98955b3eb029db416fd0cd822cd1e00bd1d4d4b6294c11eee6fb9cdc600 |
|
MD5 | eb668f9d9ef2f980128b7d62b6d4cdf5 |
|
BLAKE2b-256 | e08168642731fdd8dca354332c67ac17b8532e005b588d8669f0fb49bebb2be3 |
Close
Hashes for psautohint-1.7.1b3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 788a71888b949b24d3e230b32d854426cc270cdfa4a4edbb8dc4d75547dc5099 |
|
MD5 | 5441c18a6075d75435b67988c599ed4c |
|
BLAKE2b-256 | b4a4dedd2644b4edc05572c026c87e73b60e6ee806e341915920522cdc39e395 |
Close
Hashes for psautohint-1.7.1b3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3209ccdbf6b45f7f5f3220aa3d5be8d93d2baf1d1642eb29b76452ef871693a |
|
MD5 | b2c59c6905ee0a47d0ee4dacb968e15d |
|
BLAKE2b-256 | e41d6be7b9092f6e645da42cff37faa7b3960c794889dc9ba277474d623bbfe2 |
Close
Hashes for psautohint-1.7.1b3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f22a7b4f3b4fe42f3031602a845f2d1a7d5c58cb39d4467ada41c9483e17e6ce |
|
MD5 | f575e9507e7f52156426bb7b2c48151c |
|
BLAKE2b-256 | 38832e4194e17fc27b59ceb0807592c8bdf7be4f4f91e5826b9fee6ec961bad1 |
Close
Hashes for psautohint-1.7.1b3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21226e76e42ef446cc6b7bca0994fdc5ad7c6c0fab69dd5c467242b8be3f3a5a |
|
MD5 | 06876ad76e28cc48594ee2bf722829cb |
|
BLAKE2b-256 | 19a170b73e317a14164befca9b631cfac6ae5c2afd0af1cb5e6cda64af62fc52 |
Close
Hashes for psautohint-1.7.1b3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cccb119a02787bd9ff14ac9a062e0bf05dac16b9661a79e6af570e29c805848 |
|
MD5 | c760ca5fdf65b3cb7e6460b3248601eb |
|
BLAKE2b-256 | 496f426b3923823b1ade098ce980db0aa02d4ff95751da416b34bc175bc39ea2 |
Close
Hashes for psautohint-1.7.1b3-cp27-cp27m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d888fbb142c7f0c7a6f1aa547b6dc1ba6051d64135878899fcd7456994c940c8 |
|
MD5 | 41c311127590fe699598c68ef074c42e |
|
BLAKE2b-256 | cb8004d2693916d443d14a35705ede37825cbf1850e6287c6a540fb853231050 |
Close
Hashes for psautohint-1.7.1b3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46c3509d1617ff89ac9a637a3a6bebd75a0c77f1a8696c20997825daee191d2c |
|
MD5 | 1c9c391df183653a9b677bb50c9f9c5d |
|
BLAKE2b-256 | e7c4f2e9be74cb939d885ce354b9f97957c4d71a19463507d41fb87f02229185 |