Interpolate OpenType Layout tables (GDEF / GPOS / GSUB).
- fontTools.varLib.interpolate_layout.interpolate_layout(designspace, loc, master_finder=<function <lambda>>, mapped=False)
Interpolate GPOS from a designspace file and location.
If master_finder is set, it should be a callable that takes master filename as found in designspace file and map it to master font binary as to be opened (eg. .ttf or .otf).
If mapped is False (default), then location is mapped using the map element of the axes in designspace file. If mapped is True, it is assumed that location is in designspace’s internal space and no mapping is performed.
Interpolate GDEF/GPOS/GSUB tables for a point on a designspace