Skip to content

fontlabapp.studios.component_studio.replace · declarations 001

Back to fontlabapp.studios.component_studio.replace

DEBOUNCE_MS module-attribute

DEBOUNCE_MS

matrix_of

matrix_of(shape: Any) -> tuple[float, ...]

The six transform numbers, to prove that the placement did not move.

replace_changes

replace_changes(package: Any, glyph: Any, layer: Any, master: str, names: tuple[str, str], facts: AutoFacts) -> list[Change]

One row per component of old on the layer, with its block reason if any.

replace_problem

replace_problem(package: Any, glyph: Any, shape: Any, master: str, new: str, facts: AutoFacts) -> str

Why shape cannot show new, or "".

The new base needs the layer the component reads: its own layer name, if it names one, else the master.

users_of

users_of(facts: AutoFacts, name: str) -> set[str]

Every glyph that shows name, directly or through other components.

When the new base is among the users of the edited glyph, the edited glyph would contain itself.