Skip to content

fontlabapp.studios.outline_doctor.session.Doctor · declarations 001

Back to fontlabapp.studios.outline_doctor.session.Doctor

__init__

__init__(shell: Any, *, measures: Callable[[Any], Callable[[str], tuple]] | None = None, **kwargs: Any) -> None

fix

fix(check: Check, options: Mapping[str, Any] | None = None, names: Sequence[str] | None = None, *, all_masters: bool = False, compatible: bool = True, allow_hinted: bool = False, allow_bases: bool = False) -> bool

Apply check to the planned layers as one Undo step; False when refused.

allow_bases (only for checks whose original offered it) lets the AppShell edit bases of automatic composites; otherwise it refuses them.

ghost

ghost(rows: Sequence[Row], glyph: str | None = None, master: str | None = None) -> Overlay | None

Draw the planned after-outline of one row over the preview and highlight its points.

plan

plan(check: Check, options: Mapping[str, Any] | None = None, names: Sequence[str] | None = None, *, all_masters: bool = False, compatible: bool = True, allow_hinted: bool = False) -> list[Row]

Plan check (read-only). Structural fixes with compatible plan every master.

scan

scan(check: Check, options: Mapping[str, Any] | None = None, names: Sequence[str] | None = None, *, all_masters: bool = False, whole_font: bool = False) -> list[Row]

Run check as a read-only report: no history step, no writes.