Skip to content

fontlabapp.studios.component_studio.decompose · declarations 001

Back to fontlabapp.studios.component_studio.decompose

SCOPES module-attribute

SCOPES

SCOPE_SETTINGS module-attribute

SCOPE_SETTINGS

changes

changes(package: Any, glyph: Any, master: str, layer: Any) -> list[Change]

Describe only Serif-prefixed components; block unsafe base copies.

checked_parts

checked_parts(package: Any, shape: Any, master: str) -> list[Any]

Refuse detached copy loss before history can remove the occurrence.

decompose_changes

decompose_changes(package: Any, glyph: Any, layer: Any, master: str) -> list[Change]

One row per component of the layer: its base and what it becomes.

flatten_parts

flatten_parts(shape: Any, depth: int = 0) -> list[Any]

Copy one subtree into detached outlines, in drawing order.

Use the public App eject helper at every level. Its native eject applies placement, and its copy repair keeps flags and element metadata. Bound recursion even when a component cache disagrees with the preview.

make_plan

make_plan(package: Any, glyphs: list[Any], masters: list[str], name: str, facts: AutoFacts, *, copy: bool = False) -> Plan

Read counts for preview; copy only on Apply, before history opens.

source_contours

source_contours(package: Any, shape: Any, master: str, depth: int = 0) -> int

Count expected contours from source layers, independently of copy caches.

writer module-attribute

writer