fontlabapp.anchors.inspect.model
model
Preserve original anchor coordinates, compatibility and attachment arithmetic.
The three read-only L1 tools share native access and transformed outlines with verified Components/Proof helpers. Raw source snapshots retain sub-unit drift, while the original displayed points deliberately round to integral font units.
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 |
|---|---|---|---|
anchor_names |
function | (glyphs: Any, masters: Any) -> list[str] |
Anchor names by frequency on the glyphs. |
anchor_points |
function | (layer: Any) -> dict[str, tuple[int, int]] |
Retain the original anchor points values and missing-data rules. |
anchor_sets |
function | (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. |
attachment |
function | (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 |
function | (package: Any, name: Any, master: Any) -> Any |
Retain the original attachment layer of values and missing-data rules. |
classify |
function | (package: Any, names: Any, master: Any) -> tuple[list[str], list[str]] |
(bases, marks): names with plain anchors, names with _anchors, on one master. |
cloud |
function | (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 |
function | (glyph: Any, master: Any) -> Any |
Retain the original cloud layer of values and missing-data rules. |
families |
function | (base_layer: Any, mark_layer: Any) -> list[str] |
Anchor names X with X on the base and _X on the mark. |
is_mismatch |
function | (sets: Any) -> bool |
Retain the original is mismatch values and missing-data rules. |
selected_names |
function | () -> list[str] |
Retain Mark Preview's current-glyph fallback using explicit None identity. |
source_values |
function | (package: Any, names: list[str], masters: list[str], geometry_names: list[str]) -> tuple |
Capture ordered raw anchor values and only the outlines actually displayed. |