fontlabapp.studios.layer_manager.intermediate
intermediate
Intermediate tab: the Scriptmix "Set Intermediate Layer" (Scripts/Masters/).
Add one interpolated layer per selected glyph at an explicit design
location: one coordinate control per declared axis, the new layer named
in FontLab's location form (:wt=550). The planning is the original's,
verbatim: automatic glyphs and their bases, an existing layer or
location, missing, locked, service, image or incompatible master layers
are listed and kept. Add Layers plans again, refuses a plan that differs
from the list, and adds every interpolated layer as ONE
Layer Manager: add intermediate layers <subject> Undo step through
AppShell.history with no target layers (the original's
layer-creating route). The new layers are not master and not automatic
layers (an automatic interpolation result is refused, as before).
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 |
|---|---|---|---|
KEY |
attribute | ||
TITLE |
attribute | ||
fl |
attribute | (shared captured text) | |
guards |
attribute | (shared captured text) | |
keep_reason |
function | (package: Any, glyph: Any, name: str, values: dict[str, float], facts: history.AutoFacts) -> str |
Keep unsafe, duplicate or incompatible glyphs; the other glyphs still write. |
location_values |
function | (package: Any, values: dict[str, float]) -> tuple[dict[str, float], str] |
Validate declared design coordinates and encode FontLab's layer-name form. |
position_matches |
function | (position: Any, values: dict[str, float]) -> bool |
Subscript only; a missing key reads as None. |
survey |
function | (package: Any, names: list[str], values: dict[str, float], facts: history.AutoFacts) -> list[IntermediateRow] |
One row per selected glyph, with all refusals visible before writing. |
write_rows |
function | (tool: Any, package: Any, rows: list[IntermediateRow], facts: history.AutoFacts, title: str=TITLE) -> dict[st… |
Interpolate and append in one history action; retain partial additions on error (the original's). |