Skip to content

fontlab_fontport.interchange

interchange

Incremental whole-UFO interchange with explicit native preflight refusals.

Each iterator step handles one glyph or one metadata family. Exhaust preflight before creating a destination. The source is borrowed; imported fonts are owned by the context manager and are closed even when applying a step fails.

Classes

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
BLOCKS_KEY attribute
NATIVE_LOSSES attribute
import_native function (source: Font) Return a context owning a new registered native font, after preflight.
import_ufo function (source: Font, backend_factory, *, native=False) Own and close a new destination, with all preflight before allocation.
preflight_import function (source: Font, *, native=False) Yield checked units; allocate no native objects and perform no writes.