Skip to content

fontlabapp.anchors.inspect.model · declarations 001

Back to fontlabapp.anchors.inspect.model

anchor_names

anchor_names(glyphs: Any, masters: Any) -> list[str]

Anchor names by frequency on the glyphs.

anchor_points

anchor_points(layer: Any) -> dict[str, tuple[int, int]]

Retain the original anchor points values and missing-data rules.

anchor_sets

anchor_sets(package: Any, names: Any, masters: Any) -> list[tuple[str, dict[str, list[str] | None]]]

[(glyph, {master: [anchor names] or None})] for glyphs with anchors on any master.

Auto layers map to None: FontLab regenerates their anchors from the base glyph (lazily, per master, minus the anchor the mark consumed), so they are shown but never compared.

attachment

attachment(base_layer: Any, mark_layer: Any, family: Any) -> tuple[int, int] | None

(dx, dy) that puts the mark's _family anchor on the base's family anchor, or None.

attachment_layer_of

attachment_layer_of(package: Any, name: Any, master: Any) -> Any

Retain the original attachment layer of values and missing-data rules.

classify

classify(package: Any, names: Any, master: Any) -> tuple[list[str], list[str]]

(bases, marks): names with plain anchors, names with _anchors, on one master.

cloud

cloud(glyphs: Any, master: Any, name: Any) -> list[tuple[str, int, int]]

[(glyph name, x, y)] of the named anchor on one master.

cloud_layer_of

cloud_layer_of(glyph: Any, master: Any) -> Any

Retain the original cloud layer of values and missing-data rules.

families

families(base_layer: Any, mark_layer: Any) -> list[str]

Anchor names X with X on the base and _X on the mark.

is_mismatch

is_mismatch(sets: Any) -> bool

Retain the original is mismatch values and missing-data rules.

selected_names

selected_names() -> list[str]

Retain Mark Preview's current-glyph fallback using explicit None identity.

source_values

source_values(package: Any, names: list[str], masters: list[str], geometry_names: list[str]) -> tuple

Capture ordered raw anchor values and only the outlines actually displayed.

Geometry names are frozen by the panel before a scan and retained for later source checks. Changing a base/mark selector therefore validates the previous display first, then captures the new pair without treating intended UI input as a font edit. No native value-object equality participates.