trak: Tracking table

The trak table is an Apple Advanced Typography (AAT) table.

class fontTools.ttLib.tables._t_r_a_k.table__t_r_a_k(tag=None)[source]

Bases: DefaultTable

The AAT trak table can store per-size adjustments to each glyph’s sidebearings to make when tracking is enabled, which applications can use to provide more visually balanced line spacing.

See also https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6trak.html

dependencies = ['name']
compile(ttFont)[source]
decompile(data, ttFont)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
class fontTools.ttLib.tables._t_r_a_k.TrackData(initialdata={})[source]

Bases: MutableMapping

compile(offset)[source]
decompile(data, offset)[source]
toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
sizes()[source]
keys()[source]
tracks()
class fontTools.ttLib.tables._t_r_a_k.TrackTableEntry(values={}, nameIndex=None)[source]

Bases: MutableMapping

toXML(writer, ttFont)[source]
fromXML(name, attrs, content, ttFont)[source]
keys()[source]
sizes()