Skip to content

fontlabapp.studios.transform_studio.tabs.Tab · declarations 001

Back to fontlabapp.studios.transform_studio.tabs.Tab

__init__

__init__(studio: Studio) -> None

bases_allowed

bases_allowed() -> bool

every_master

every_master() -> bool

guard

guard(action: Callable[[], Any]) -> Any

Run action; a ValueError from a field becomes the status line.

hinted_allowed

hinted_allowed() -> bool

line

line() -> Any

pair

pair(layout: Any, subject: str, planner: Callable[[], Planner], action: str) -> None

A "Preview …" and an apply button for one planner.

preview

preview(planner: Planner) -> list[Row]

Plan planner without writing; fill the table and draw the ghost of the previewed glyph.

refresh

refresh() -> None

remove_hints

remove_hints() -> int

The hint opt-in: remove PostScript hints from the chosen layers, one Undo step per layer.

run

run(action: str, planner: Planner) -> bool

Write planner to the chosen glyphs as one labelled step; show the plan.

use_selection

use_selection() -> list[str]