Crate interpolatable

Source
Expand description

Font interpolation tester

This library is designed to test the interpolatability of glyphs in variable fonts. It can find problems such as:

  • Wrong starting points
  • Kinks
  • Over- and under-weighted contours
  • Contour order

It is a port of Behdad Esfahbod’s fontTools.varLib.interpolatable.

Modules§

utils
Utility functions for interpolatability testing

Structs§

BezGlyph
A BezGlyph is a collection of BezPaths, which represent the outline of a glyph. It is used to store the paths of a glyph in a vector, allowing for multiple paths to be stored in a single glyph.
GlyfPoint
A point in a glyph
Glyph
A glyph at a given location, containing per-contour information
Problem
An interpolation problem between two masters.

Enums§

ProblemDetails
The particular problem found

Functions§

run_tests
The main interpolatability testing function