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.

Still a work in progress. Use at your own risk!

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 authinter can be used by running:

psautohint

The old autohintexe binary can also be built from libpsautohint directory:

autoreconf -if
./configure
make

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

psautohint-1.1.1a2-cp36-cp36m-win_amd64.whl (154.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

psautohint-1.1.1a2-cp27-cp27m-win32.whl (122.9 kB view details)

Uploaded CPython 2.7m Windows x86

File details

Details for the file psautohint-1.1.1a2-cp36-cp36m-win_amd64.whl.

File metadata

File hashes

Hashes for psautohint-1.1.1a2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 cb99364e651dbbc285a5ec7987ed48a01d3d9b0c48a0727c4e19f056afffd535
MD5 433fb6ea84fbd4822320c1657b906eb6
BLAKE2b-256 e9906cccaefb6e0eec4f9d0b8afa6df98297e4fbcfe867df601dda325f6d9f13

See more details on using hashes here.

File details

Details for the file psautohint-1.1.1a2-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for psautohint-1.1.1a2-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 4e5809805fc45547eb8719e6dd02cc9c8dc3f12745dcd6549e5df7586f525c92
MD5 5837fa0ed79cc1fabb3fb2156f3119bc
BLAKE2b-256 d06d2fe2dd4aefa1c56ceacc5579302c5647c4fe46d3a0c517b8a3a9e2d32189

See more details on using hashes here.

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