Skip to content

fontlabapp.studios.proof_studio.generators.master_text

master_text

Master text comparison: comma-separated text set across all masters of the font.

What: absorbs Scriptmix "Master Text Comparison" (after Luke Prowse's MasterBlaster, MIT; see NOTICE) on the shared fontlabapp.masters.text workflow. Same inputs: comma-separated custom text, Stacked (0) or Side-by-side (1, default), Characters or Named tokens, presets from a local MasterBlaster-presets.txt in the working directory or the four original fallback lists, and Load presets from an absolute path. Open prefers nonempty custom text, then the chosen preset; "Open chosen preset" runs that preset whatever the custom text (the original double-click); both save the custom field afterwards, as the original does when it is readable. analyze builds the preview (one part per master, on that master's layer) and the exact text; Open captures the font afresh, opens one new comparison tab through masters.text.proof.open_proof and then saves inputCustom/layout in QSettings ("FontLabScriptmix", "MasterTextComparison"), as the original.

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
GENERATOR attribute
LAYOUTS attribute
NONE attribute
PRESET_FILE attribute (shared captured text)
SETTINGS attribute
load function (settings: Any, *, directory: Path | None=None) -> Outcome Saved custom text and layout, then local presets (or the four fallbacks).
load_file function (context: Context) -> Outcome Replace the presets with the lines of the absolute preset file.
make function (mode: str, options: Options) -> Proof Sanitize like the original; one preview part per master and the exact text as Copy.
open_current function (mode: str, context: Context) -> str List as Masters: custom text first, else the chosen preset; save controls after success.
open_preset function (context: Context) -> Outcome The original double-click: run the chosen preset now, then save the custom field.