fontlabapp.studios.transform_studio.session.Studio · declarations 001
Back to fontlabapp.studios.transform_studio.session.Studio
__init__
__init__(shell: Any, *, font: Callable[[], Any] | None = None, selection: Callable[[], list[str]] | None = None, metrics: Callable[[Any, str], Any] | None = None) -> None
apply
apply(action: str, planner: Planner, names: Sequence[str] | None = None, *, all_masters: bool = False, masters: Sequence[str] | None = None, allow_bases: bool = False, allow_hinted: bool = False) -> bool
Plan, then write every changed layer as one "<App>: <action> <subject>" step.
ghost
Draw the planned outline of the previewed glyph on the preview master; None when there is none.
italic_angle
italic_angle() -> float
The current master's italic angle (package.italicAngle_value).
italic_angles
italic_angles(masters: Sequence[str]) -> dict[str, float]
{master: italic angle}; switches the current master briefly and always restores it.
plan
plan(planner: Planner, names: Sequence[str] | None = None, *, all_masters: bool = False, masters: Sequence[str] | None = None, allow_hinted: bool = False) -> list[Row]
Plan planner(name, master, snapshot) for each glyph layer; skipped layers carry a note.
remove_hints
remove_hints(names: Sequence[str] | None = None, *, all_masters: bool = False) -> int
Remove PostScript hints from the chosen layers: one "<App>: remove hints <glyph>" step each.
show_glyph
show_glyph(name: str | None) -> None
Load name on the chosen master in the TGlyph preview and clear the ghost (read-only).
x_height
x_height(master: str) -> float