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

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 details)

Uploaded Source

Built Distributions

psautohint-1.7.1b3-cp37-cp37m-win_amd64.whl (299.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

psautohint-1.7.1b3-cp37-cp37m-manylinux1_x86_64.whl (203.2 kB view details)

Uploaded CPython 3.7m

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 (367.0 kB view details)

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.7.1b3-cp36-cp36m-win_amd64.whl (299.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

psautohint-1.7.1b3-cp36-cp36m-manylinux1_x86_64.whl (203.2 kB view details)

Uploaded CPython 3.6m

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 (367.0 kB view details)

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.7.1b3-cp27-cp27mu-manylinux1_x86_64.whl (203.1 kB view details)

Uploaded CPython 2.7mu

psautohint-1.7.1b3-cp27-cp27m-win32.whl (163.0 kB view details)

Uploaded CPython 2.7m Windows x86

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 (366.9 kB view details)

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

File details

Details for the file psautohint-1.7.1b3.zip.

File metadata

  • Download URL: psautohint-1.7.1b3.zip
  • Upload date:
  • Size: 213.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.6

File hashes

Hashes for psautohint-1.7.1b3.zip
Algorithm Hash digest
SHA256 6ee92b27ac86fb86a1c25d1f2169ddb68f78e4751b9a451abec6cbb3e06a35d8
MD5 11a32bdbe8811d04cd97580f433c0347
BLAKE2b-256 88d7832254f3d4584e0feec15b597f335c38e303a12b63279795b7bf57d59c0f

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 299.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.0

File hashes

Hashes for psautohint-1.7.1b3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 2d1ee94341f7e22d6aa064b93bb8f7232067b89c9bb0124451be5134116ef1d7
MD5 734e12604b7e70bde2f6e9a37a86eeaa
BLAKE2b-256 5e7cc9f9c48eca1ae3e13f2468521e365d4ad5d9ca58f3f4b23f712b8567731d

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 203.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.6

File hashes

Hashes for psautohint-1.7.1b3-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f4c1e98955b3eb029db416fd0cd822cd1e00bd1d4d4b6294c11eee6fb9cdc600
MD5 eb668f9d9ef2f980128b7d62b6d4cdf5
BLAKE2b-256 e08168642731fdd8dca354332c67ac17b8532e005b588d8669f0fb49bebb2be3

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 299.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for psautohint-1.7.1b3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 a3209ccdbf6b45f7f5f3220aa3d5be8d93d2baf1d1642eb29b76452ef871693a
MD5 b2c59c6905ee0a47d0ee4dacb968e15d
BLAKE2b-256 e41d6be7b9092f6e645da42cff37faa7b3960c794889dc9ba277474d623bbfe2

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 203.2 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.6

File hashes

Hashes for psautohint-1.7.1b3-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 f22a7b4f3b4fe42f3031602a845f2d1a7d5c58cb39d4467ada41c9483e17e6ce
MD5 f575e9507e7f52156426bb7b2c48151c
BLAKE2b-256 38832e4194e17fc27b59ceb0807592c8bdf7be4f4f91e5826b9fee6ec961bad1

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

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

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp27-cp27mu-manylinux1_x86_64.whl
  • Upload date:
  • Size: 203.1 kB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.6

File hashes

Hashes for psautohint-1.7.1b3-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9cccb119a02787bd9ff14ac9a062e0bf05dac16b9661a79e6af570e29c805848
MD5 c760ca5fdf65b3cb7e6460b3248601eb
BLAKE2b-256 496f426b3923823b1ade098ce980db0aa02d4ff95751da416b34bc175bc39ea2

See more details on using hashes here.

File details

Details for the file psautohint-1.7.1b3-cp27-cp27m-win32.whl.

File metadata

  • Download URL: psautohint-1.7.1b3-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 163.0 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.15

File hashes

Hashes for psautohint-1.7.1b3-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 d888fbb142c7f0c7a6f1aa547b6dc1ba6051d64135878899fcd7456994c940c8
MD5 41c311127590fe699598c68ef074c42e
BLAKE2b-256 cb8004d2693916d443d14a35705ede37825cbf1850e6287c6a540fb853231050

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

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

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