Skip to content

fontlabapp.studios.transform_studio.session.Studio

Studio

Shared state of one 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
APP attribute (shared captured text)
__init__ function (self, shell: Any, *, font: Callable[[], Any] | None=None, selection: Callable[[], list[str]] | None=None, me…
apply function (self, action: str, planner: Planner, names: Sequence[str] | None=None, *, all_masters: bool=False, masters: … Plan, then write every changed layer as one <code>&quot;&lt;App&gt;: &lt;action&gt; &lt;subject&gt;&quot;</code> step.
choose_master function (self, name: str | None) -> None (shared captured text)
font function (self) -> Any (shared captured text)
ghost function (self, rows: Sequence[Row]) -> geometry.Overlay | None Draw the planned outline of the previewed glyph on the preview master; None when there is none.
italic_angle function (self) -> float The current master's italic angle (<code>package.italicAngle&#95;value</code>).
italic_angles function (self, masters: Sequence[str]) -> dict[str, float] {master: italic angle}; switches the current master briefly and always restores it.
layer function (self, name: str, master: str) -> Any The live layer of <code>name</code><code> on </code><code>master</code>, or None. (shared captured text)
native_glyph function (self, name: str) -> Any (shared captured text)
package function (self) -> Any (shared captured text)
plan function (self, planner: Planner, names: Sequence[str] | None=None, *, all_masters: bool=False, masters: Sequence[str]… Plan <code>planner(name, master, snapshot)</code> for each glyph layer; skipped layers carry a note.
reload function (self) -> None Re-read the masters (no writes), then refresh every view. (shared captured text)
remove_hints function (self, names: Sequence[str] | None=None, *, all_masters: bool=False) -> int Remove PostScript hints from the chosen layers: one <code>&quot;&lt;App&gt;: remove hints &lt;glyph&gt;&quot;</code> step each.
say function (self, text: str) -> None (shared captured text)
set_glyphs function (self, names: Sequence[str]) -> None (shared captured text)
shell_status function (self) -> str (shared captured text)
show_glyph function (self, name: str | None) -> None Load <code>name</code> on the chosen master in the TGlyph preview and clear the ghost (read-only).
snapshot function (self, name: str, master: str) -> geometry.Layer | None
targets function (self, all_masters: bool) -> list[str] (shared captured text)
use_selection function (self) -> list[str] (shared captured text)
x_height function (self, master: str) -> float