Skip to content

fontlabapp.anchors.copy.model

model

Original anchor-copy arithmetic with preconstructed, dependency-safe writes.

New pins get the appearance FontLab otherwise infers only on Redo/reopen. Existing pin style and expressions remain native values, untouched by copying.

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
APPEARANCE attribute
ORIGIN_ERROR attribute
TITLE attribute
layer_of function (glyph: Any, master: str) -> Any Read an existing master layer without manufacturing missing layers.
plan function (source: Any, target: Any, scale: bool, replace: bool) -> list [(name, old or None, new or None)]; new None means removal.
require_safe_targets function (package: Any, targets: set[str]) -> None Reject the whole batch while no history or native mutation exists yet.
run function (source_glyph: Any, glyphs: list, masters: list[str], scale: bool, replace: bool, *, package: Any, title: str… Keep original skips/counts and refuse unknown masters before collecting work.
source_values function (package: Any, names: list[str], masters: list[str]) -> tuple Freeze raw source/target coordinates, widths, expressions and pin attributes.