Module kern

Source
Expand description

A Kerning Table implementation.

Supports both OpenType and Apple Advanced Typography variants.

Since there is no single correct way to process a kerning data, we have to provide an access to kerning subtables, so a caller can implement a kerning algorithm manually. But we still try to keep the API as high-level as possible.

Structs§

KerningPair
A kerning pair.
Subtable
A kerning subtable.
Subtable0
A format 0 subtable.
Subtable2
A format 2 subtable.
Subtable3
A format 3 subtable.
Subtables
A list of subtables.
SubtablesIter
An iterator over kerning subtables.
Table
A Kerning Table.

Enums§

Format
A kerning subtable format.