File: README.md

package info (click to toggle)
python-vttlib 0.11.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 276 kB
  • sloc: python: 1,090; sh: 6; makefile: 3
file content (28 lines) | stat: -rw-r--r-- 940 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[![Build Status](https://travis-ci.org/daltonmaag/vttLib.svg?branch=master)](https://travis-ci.org/daltonmaag/vttLib)

# vttLib

A library to

1. Extract VTT hinting data from a OpenType font prepared with [Microsoft Visual TrueType (VTT)](https://docs.microsoft.com/en-us/typography/tools/vtt/) and store it in a [FontTools](https://github.com/fonttools/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

This package is not yet on PyPI, because... uh...

```bash
$ pip install git+https://github.com/daltonmaag/vttLib.git
$ 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.