Expand description
Reading a lookup and deriving the data its subtables apply with.
Structsยง
- Built
Subtable ๐ - A subtable together with what its lookup needs to know about it.
- Source ๐
- Where a subtable is and how to cache it.
Enumsยง
- Build
Error ๐ - A malformed subtable is skipped; exhausted preprocessing aborts its lookup.
Constantsยง
- MAX_
CACHED_ ๐SUBTABLES - Subtables past this many in a lookup get no glyph lookup caches.
- MIN_
CACHED_ ๐COVERAGE_ COST - Coverages of fewer than 8 glyphs or ranges get no cache: searching them costs about as much as a cache hit, and a cache takes 512 bytes.
Functionsยง
- build_
lookup ๐ - Reads lookup
indexof GSUB, or GPOS ifis_substis false. - build_
lookup_ ๐at - Reads the lookup at
offsetin a GSUB (is_subst) or GPOS table. - is_
extension ๐ - is_
reversed ๐ - Whether a GSUB lookup is a reverse chain, looking through an extension.
- lookup_
count ๐ - The number of lookups in GSUB, or GPOS if
is_substis false. - lookup_
location ๐ - The data of a lookup list and the offset of lookup
indexin it.