Skip to main content

Python wrapper for Adobe's PostScript autohinter

Project description

Travis AppVeyor Codacy Codecov PyPI

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

psautohint-1.9.2b2.zip (223.8 kB view hashes)

Uploaded Source

Built Distributions

psautohint-1.9.2b2-cp37-cp37m-win_amd64.whl (228.5 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

psautohint-1.9.2b2-cp37-cp37m-manylinux1_x86_64.whl (204.3 kB view hashes)

Uploaded CPython 3.7m

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 (385.7 kB view hashes)

Uploaded 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

psautohint-1.9.2b2-cp36-cp36m-win_amd64.whl (228.5 kB view hashes)

Uploaded CPython 3.6m Windows x86-64

psautohint-1.9.2b2-cp36-cp36m-manylinux1_x86_64.whl (204.3 kB view hashes)

Uploaded CPython 3.6m

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 (385.7 kB view hashes)

Uploaded 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

psautohint-1.9.2b2-cp27-cp27mu-manylinux1_x86_64.whl (204.2 kB view hashes)

Uploaded CPython 2.7mu

psautohint-1.9.2b2-cp27-cp27m-win32.whl (162.3 kB view hashes)

Uploaded CPython 2.7m Windows x86

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 (385.7 kB view hashes)

Uploaded 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

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page