fontlabapp.masters.text.model · declarations 001
Back to fontlabapp.masters.text.model
analyze
analyze(text: str, cmap: dict, names: set, masters: tuple[str, ...], layout: int = 1, *, mode: str = 'characters', check: Callable = lambda: None) -> Comparison
Sanitize fully before staging every word across every captured master.
Side-by-side adds a literal space after EACH master and a final group newline. Stacked adds a newline after EACH master and one extra after EACH group. Empty fields or fields sanitized to empty are disclosed and omitted. Named glyph slots represent mapped control characters without raw text conversion; native name/UTF16 capability is independently preflighted.
checkpoint
checkpoint(deadline: float, clock: Callable, cancelled: Callable) -> None
One cooperative deadline/cancellation rule across the complete workflow.
font_maps
font_maps(facts: Iterable[tuple[str, tuple[int, ...]]], *, check: Callable = lambda: None) -> tuple[dict[int, str], set[str], tuple]
Resolve alternative Unicode assignments with proof.font_maps' first policy.
select_text
select_text(custom: str, presets: tuple[str, ...], selected: int, *, immediate: int | None = None) -> str
Run prefers nonempty custom input; double-click always uses that preset.