Skip to content

Dump, merge and compile Visual TrueType data in UFO3 with FontTools

License

Notifications You must be signed in to change notification settings

daltonmaag/vttLib

Repository files navigation

Build Status

vttLib

A library to

  1. Extract VTT hinting data from a OpenType font prepared with Microsoft Visual TrueType (VTT) and store it in a FontTools TTX dump
  2. Merge it back from a TTX dump into an OpenType font and
  3. Compile the data inside to font to ship it (turn TSI* tables into fpgm, etc.).

The primary use case is version control of hinting data of fonts.

Installation and Usage

Installation requires a Python 3.7+ interpreter.

Install in a virtual environment with:

$ pip install vttLib
$ python -m vttLib --help

Making a Release

This is currently not automated.

  1. Tag a new version
  2. python3 setup.py bdist_wheel
  3. Manually transfer dist/*.whl to internal package repository.