fontlabapp.studios.component_audit.nested
nested
Nested tab: the Scriptmix "Nested Components" (Scripts/Components/Nested Finder.py).
Lists every component whose base glyph is itself a composite, on the chosen
masters of the selected glyphs or of the whole font, then unnests each by
one level: the base's inner components and own contours replace it, placed
with the outer transform, so the glyph looks the same. The original's
planner (nested_changes) is kept verbatim; the plan, blocked rows,
auto-layer refusal, stale check and write are Component Studio's reviewed
ComponentPanel (component_writer.EjectEditor(unlock=False), as the
original). "Glyphs": Selected glyphs (default) or Whole font (re-reads the
font, as the original's reload); "Masters": all masters by default, as the
original. Unnest writes the listed rows as one
Component Audit: unnest components <subject> Undo step through
AppShell.history on the listed layers, retaining the removed
components, then reads them back. Auto layers are listed and never edited;
a glyph that owns an auto layer or is a base of one refuses the batch (no
opt-in, as in the original).
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 |
|---|---|---|---|
component_writer |
attribute | ||
nested_changes |
function | (package: Any, glyph: Any, layer: Any, master: str) -> list[component_writer.Change] |
One row per component whose base glyph has components on this master. |