Skip to content

fontlabapp.masters.text.settings

settings

Owned settings and optional local UTF8 preset lists, never host preferences.

The four fallback VALUES are attributed behavioral data from Luke Prowse's MasterBlaster (2019): root LICENSE MIT; README declares Apache-2.0. Independent implementation; original executable code and preset resource are not shipped.

Classes

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
FALLBACKS attribute
PRESET_FILE attribute
load function (settings: Any, *, check: Callable=lambda: None) -> tuple[str, int, Any] Read only tool-owned controls/geometry, with exact original defaults.
load_presets function (directory: Path, *, check: Callable=lambda: None) -> Presets Seek the preset file in <code>directory</code>, then use four defaults; name the path.
presets_directory function (directory: Path | None=None) -> Path Explicit directory, else the FontLab user folder's <code>Scripts</code>, else the cwd.
read_presets function (path: Path | str, *, check: Callable=lambda: None) -> tuple[str, ...] Read BOM/CRLF/CR normalized UTF8 without stripping mapped whitespace.
save function (settings: Any, custom: str | None=None, layout: int | None=None, *, geometry: Any=None, preserve_custom: boo… Save source controls after proof, or geometry on Close.