Skip to content

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

Back to fontlabapp.studios.interpolation_doctor.session.Doctor

__init__

__init__(shell: Any, *, select: Callable[[Any, Sequence[str]], list[str]] | None = None, **kwargs: Any) -> None

blend

blend(name: str, first: str, second: str, percent: int, *, ghost_second: bool = False) -> Overlay | None

Load first in TGlyph and draw the blend (or the second master) over it; read-only.

The write master (self.master) is left alone: previewing never retargets the Fix tab.

check

check(kind: str, names: Sequence[str] | None = None, *, whole_font: bool = False, only_bad: bool = False) -> Found

One of CHECKS as a read-only table (no history step, no writes).

clear_overlay

clear_overlay() -> None

font_glyphs

font_glyphs() -> list[str]

found_glyphs

found_glyphs(names: Sequence[str]) -> list[Any]

Native glyphs for names; unknown names are skipped like the originals.

make_compatible

make_compatible(names: Sequence[str] | None = None, *, all_masters: bool = True, allow_hinted: bool = False, allow_bases: bool = False) -> bool

Promote lines to cubics on the planned layers as one Undo step; False when refused.

node_counts

node_counts(names: Sequence[str] | None = None, *, whole_font: bool = False, only_flagged: bool = False) -> Found

Contours / nodes per glyph and master (Node Statistics); read-only.

plan_compatible

plan_compatible(names: Sequence[str] | None = None, *, all_masters: bool = True, allow_hinted: bool = False) -> list[Fix]

Plan Make Compatible on the chosen masters (read-only).

report

report(kind: str, names: Sequence[str] | None = None) -> str

One of REPORTS as the originals' literal text; read-only.

scope

scope(names: Sequence[str] | None, whole_font: bool) -> list[str]

select

select(names: Sequence[str], what: str) -> list[str]

Select names in the Font window (the originals' select action); no history step.