Skip to main content

Module budget

Module budget 

Source
Expand description

Limits on work and allocations while deriving cached OpenType layout data.

These are independent of the buffer’s shaping limits. They only run while building caches, including lazy builds shared across shaping calls. Once an allowance is insufficient, the affected lookup is discarded and stays skipped. Beyond the limits, the retained lookups can depend on use order.

Structs§

Budget 🔒
A font’s preprocessing allowance, shared by lazy cache initializers.
Exhausted 🔒