Metadata-Version: 2.1
Name: vttcompilepy
Version: 0.0.1.5
Summary: Python extension for Visual TrueType font compile. 
Home-page: https://github.com/microsoft/VisualTrueType
Author: Paul Linnerud
Author-email: paulli@microsoft.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# Project

VTTCompilePy is a Python extension built using Cython. It provides streamlined bindings for
various compilers from Visual TrueType. 

VTTCompilePy was developed to support a Python based font development environment. In addition to the Python interface,
a command line interface is also installed. Usage is available with "vttcompilepy --help". 

### Example

```python
    import sys 
    from pathlib import Path
    import vttcompilepy as vtt

    TESTDATA = Path(__file__).parent / "data"
    IN_PATH = TESTDATA / "selawik-variable.ttf"
    OUT_PATH = TESTDATA / "out.ttf"

    print(bytes(IN_PATH))

    print('VTTCompilePy Test Client')

    compiler = vtt.Compiler(IN_PATH)

    compiler.compile_all()

    compiler.save_font(OUT_PATH, vtt.StripLevel.STRIP_NOTHING)

```

## Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft 
trademarks or logos is subject to and must follow 
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
Any use of third-party trademarks or logos are subject to those third-party's policies.


