Skip to content

fontlabapp.components.decompose

decompose

Decompose a layer's components into placed base contours, read-only.

Evidence classes follow Issue 209 native-data-map.md §5: shape.isComponent (a-src, b), shapeData.componentGlyph / componentLayer (a-src, b), shape.transform as a QTransform (b), package.findName and glyph.findLayer (a-stub, b). An empty componentLayer means the master that owns the shown layer at every nesting level, as Glyport's natively run native_reference resolves it (b); that FontLab draws the same is (c). Used by fontlabapp.plugins.snapshot.capture; it never calls a writer.

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
MAX_DEPTH attribute
Row attribute
owner_master function (package: Any, layer: Any, items: Callable[[Callable[[], Any]], list[Any]]) -> str The master that owns the shown layer: its name when it is a master.
read function (package: Any, name: str, layer: Any, contours: Callable[[Any], tuple[Any, ...]], *, items: Callable[[Callabl… Return <code>(rows, stamps)</code><code> for glyph </code><code>name</code><code>&#x27;s displayed </code><code>layer</code>.