Metadata-Version: 2.1
Name: psautohint
Version: 2.1.3a1
Summary: Python wrapper for Adobe's PostScript autohinter
Home-page: https://github.com/adobe-type-tools/psautohint
Author: Adobe Type team & friends
Author-email: afdko@adobe.com
License: Apache License, Version 2.0
Description: ![Test and Build](https://github.com/adobe-type-tools/psautohint/workflows/Test%20and%20Build/badge.svg)
        [![Codecov](https://codecov.io/gh/adobe-type-tools/psautohint/branch/master/graph/badge.svg)](https://codecov.io/gh/adobe-type-tools/psautohint)
        [![PyPI](https://img.shields.io/pypi/v/psautohint.svg)](https://pypi.org/project/psautohint)
        [![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/adobe-type-tools/psautohint.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:cpp)
        [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/adobe-type-tools/psautohint.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:python)
        [![Total alerts](https://img.shields.io/lgtm/alerts/g/adobe-type-tools/psautohint.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/adobe-type-tools/psautohint/alerts/)
        
        PSAutoHint
        ==========
        
        A standalone version of [AFDKO](https://github.com/adobe-type-tools/afdko)’s
        autohinter.
        
        **NOTE**: as of August 2019, only Python 3.6 or later is supported.
        
        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
        
        Debugging
        ---------
        
        For standard debugging, build with:
        
            python setup.py build --debug
        
        It is also possible to build a debug version with [AddressSanitizer](https://github.com/google/sanitizers/wiki/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.
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Text Processing :: Fonts
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
Requires-Python: >3.6
Description-Content-Type: text/markdown
Provides-Extra: testing
