Skip to content

fontlabapp.components.recipes.model · declarations 001

Back to fontlabapp.components.recipes.model

CAPTURE_SECONDS module-attribute

CAPTURE_SECONDS

capture

capture() -> RecipeSnapshot

Capture actual selected layers, including ordered repeated editor slots.

Use the shared Font/Glyph-window provider, read all components twice and reject changed observed identities, names, shape order or document context. A single2sdeadline covers every provider/component loop. No current-glyph fallback, sorting, deduplication, font write or partial result is used. Blocking native calls cannot be preempted; native acceptance remains open.

recipes

recipes(layers: tuple[RecipeLayer, ...]) -> str

Return original base+base=glyph lines, without deduplication or sorting.

Skip only layers without components. Keep missing-base names literally. A recipe records composition, not exact geometry or guaranteed import into another editor. The original format omits all transforms and offsets. Keep the final newline emitted by the original per-layer print call.