python-psautohint
Port variant py39
Summary Wrapper for Adobe's PostScript autohinter (3.9)
Package version 2.4.0
Homepage https://github.com/adobe-type-tools/psautohint
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 03 FEB 2022, 15:06:14 UTC
Port created 03 JAN 2020, 01:03:23 UTC
Subpackage Descriptions
single ![Test and Build] [Codecov] [PyPI] [![Language grade: C/C++]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:cpp) [![Language grade: Python]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:python) [Total alerts] 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: pytest Debugging --------- For standard debugging, build with: python setup.py build --debug It is also possible to build a debug version with [AddressSanitizer] ("ASan") support (currently _for Mac OS X only_) with: python setup.py build --asan pip install . Once it is installed, you can use the `util/launch-asan.sh` shell script to launch a Python process that invokes the ASan libraries needed for debugging. Attach Xcode the launched process, then execute code in the process that triggers memory usage problems and wait for ASan to do its magic. NOTE: be sure to build and install `psautohint` as described above; using other techniques such as `python setup.py install` will cause a re-build _without_ ASan and debug support, which won't work.
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY39 ON Build using Python 3.9
Package Dependencies by Type
Build (only) python-setuptools:single:py39
autoselect-python:single:standard
Build and Runtime python-fonttools:single:py39
python-setuptools-scm:single:py39
python39:single:standard
Download groups
main mirror://PYPI/p/psautohint
Distribution File Information
d50edea8f6121c3383f0d82f881bf7a18bdd476cc2d354737672ce193c3cff7f 185568 psautohint-2.4.0.tar.gz
Ports that require python-psautohint:py39
fonts-cantarell:standard Cantarell, Humanist sans-serif font family