fontlabapp.plugins.snapshot
snapshot
Copy native FontLab glyph data into immutable, Python-only records.
Classes
NodeContourAnchorZoneMetricsNeighboursViewStateComponentMasterOutlineKerningGroupsGlyphSnapshotNativeSourceActiveGlyph
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 |
|---|---|---|---|
active_glyph |
function | (fontlab: Any, *, items: Callable[[Callable[[], Any]], list[Any]] | None=None) -> ActiveGlyph | None |
Resolve the active canvas slot against the workspace's current package. |
capture |
function | (source: NativeSource, *, fontlab: Any=None, items: Callable[[Callable[[], Any]], list[Any]] | None=None, inc… |
Read one current native layer; inject native adapters in offline tests. |
first_report |
function | (key: tuple[Any, ...]) -> bool |
True the first time <code>key</code><code> is seen since </code><code>reset()</code>; bounded LRU. |
palette_key |
function | (active: ActiveGlyph | None, *, items: Callable[[Callable[[], Any]], list[Any]] | None=None) -> tuple[Any, ..… |
Read a cheap revision and node-selection key without a full snapshot. |
reset |
function | () -> None |
Forget cached reads and reported errors; backends call this on close(). |
resolve_source |
function | (info: Any) -> NativeSource | None |
Resolve the layer the text slot shows, as <code>active_glyph</code> does. |
select_contours |
function | (layer: Any, indices: tuple[int, ...], *, toggle: bool=False, items: Callable[[Callable[[], Any]], list[Any]]… |
Select whole editable contours by index; never change outline geometry. |
selected_layers |
function | () -> Any |
Read the active Font/Glyph window selection through App's checked adapter. |