Skip to content

fontlabapp.studios.anchor_studio.session.Studio

Studio

Shared state of one Anchor Studio window; tabs subscribe with views.

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
__init__ function (self, shell: Any, *, font: Callable[[], Any] | None=None, selection: Callable[[], list[str]] | None=None, fo…
anchor_rows function (self, names: Sequence[str] | None=None) -> list[tuple[str, str, str, float, float]] Every anchor of the glyph list on every master: <code>(glyph, master, anchor, x, y)</code>.
apply function (self, action: str, planner: model.Planner, names: Sequence[str] | None=None, *, all_masters: bool=False, mas… Plan, then write every changed layer as one <code>&quot;Anchor Studio: &lt;action&gt; &lt;subject&gt;&quot;</code> step.
bounds_planner function (self, wanted: Sequence[tuple[str, str, float]]) -> model.Planner
census function (self, names: Sequence[str] | None=None, *, all_masters: bool=False) -> dict[str, list[int]] Anchor names over the chosen layers with editable/auto layer counts.
centre_planner function (self, anchors: Sequence[str], reference: str, fraction: float, angle: float) -> model.Planner
choose_master function (self, name: str | None) -> None
cloud function (self, anchor: str, names: Sequence[str] | None=None) -> tuple[dict[str, Any], list[tuple[str, str, float, fl… The <code>anchor</code> cloud on every master, as Cloud View drew it per master.
delete_planner function (self, anchors: Sequence[str]) -> model.Planner
duplicates_planner function (self, coincident: bool) -> model.Planner
extraneous_planner function (self) -> model.Planner
font function (self) -> Any (shared captured text)
font_glyphs function (self) -> list[str] Every glyph name of the font, for the "Whole font" scope.
italic_angle function (self) -> float
layer function (self, name: str, master: str) -> Any The live layer of <code>name</code><code> on </code><code>master</code>, or None.
metric function (self, master: str, attribute: str | None) -> int
native_glyph function (self, name: str) -> Any
optical function (self, layer: Any) -> int | str Optical x of <code>layer</code> within the per-layer time budget, or the reason it failed.
optical_planner function (self) -> model.Planner
package function (self) -> Any
plan function (self, planner: model.Planner, names: Sequence[str] | None=None, *, all_masters: bool=False, masters: Sequenc… Plan <code>planner(name, facts, layer, master)</code> for each glyph layer; skipped layers carry a note.
reload function (self) -> None Re-read the masters (no writes), then refresh every view.
remove_hints function (self, names: Sequence[str] | None=None, *, all_masters: bool=False) -> int Remove PostScript hints from the chosen layers: one <code>&quot;Anchor Studio: remove hints &lt;glyph&gt;&quot;</code> step each.
rename_planner function (self, find: str, replace: str, regex: bool) -> model.Planner
rings function (self, name: str, size: int, names: Sequence[str] | None=None) -> tuple[Any, list[tuple[str, str, Pin]]] Rings around stacked anchors of <code>name</code> and every stacked anchor of the glyph list.
round_planner function (self, step: int, do_x: bool, do_y: bool, anchors: Sequence[str]) -> model.Planner
say function (self, text: str) -> None
set_glyphs function (self, names: Sequence[str]) -> None
shell_status function (self) -> str
show_glyph function (self, name: str | None) -> None Load <code>name</code> on the chosen master in the TGlyph preview (read-only).
snap_planner function (self, anchors: Sequence[str], attribute: str | None, offset: float) -> model.Planner
targets function (self, all_masters: bool) -> list[str]
use_selection function (self) -> list[str]