Skip to content

fontlabapp.studios.proof_studio.generators.master_text · declarations 001

Back to fontlabapp.studios.proof_studio.generators.master_text

GENERATOR module-attribute

GENERATOR

LAYOUTS module-attribute

LAYOUTS

NONE module-attribute

NONE

SETTINGS module-attribute

SETTINGS

load

load(settings: Any, *, directory: Path | None = None) -> Outcome

Saved custom text and layout, then local presets (or the four fallbacks).

load_file

load_file(context: Context) -> Outcome

Replace the presets with the lines of the absolute preset file.

make

make(mode: str, options: Options) -> Proof

Sanitize like the original; one preview part per master and the exact text as Copy.

open_current

open_current(mode: str, context: Context) -> str

List as Masters: custom text first, else the chosen preset; save controls after success.

open_preset

open_preset(context: Context) -> Outcome

The original double-click: run the chosen preset now, then save the custom field.