Skip to main content

Module patchmap

Module patchmap 

Source
Expand description

Loads incremental font transfer https://w3c.github.io/IFT/Overview.html patch mappings.

The IFT and IFTX tables encode mappings from subset definitions to URL’s which host patches that can be applied to the font to add support for the corresponding subset definition.

Structs§

PatchMapEntry
Stores a collection of URLs associated with each patch mapping entry.
PatchUrl
An expanded PatchUrl string which identifies where a patch is located.
SubsetDefinition
Stores a description of a font subset over codepoints, feature tags, and design space.

Enums§

DesignSpace
Stores a collection of ranges across zero or more axes.
FeatureSet
Stores a set of features tags, can additionally represent all features.
PatchFormat
Models the encoding type for a incremental font transfer patch. See: https://w3c.github.io/IFT/Overview.html#font-patch-formats-summary
PatchId
Id for a patch which will be subbed into a URL template. The spec allows integer or string IDs.

Functions§

intersecting_patches
Find the set of patches which intersect the specified subset definition.