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

Supported by

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