Skip to content

fontlabapp.core.sharing · declarations 001

Back to fontlabapp.core.sharing

LOG module-attribute

LOG

element_shared

element_shared(shape: Any, layer: Any = None, package: Any = None) -> bool

Return True when editing shape's contours would change another glyph.

True only when referenceCount exceeds 1 plus the component shapes that use this glyph's same-name layer. When layer, its glyph or package cannot be resolved, fall back to the conservative referenceCount > 1.

sharing_operation

sharing_operation() -> Iterator[None]

Memoise component-user counts for one scan, planning or apply pass.