Skip to content

fontlabapp.studios.component_studio

component_studio

Component Studio (Phase D A15): component edits with a dry run before every Apply.

Launch inside FontLab with::

from fly.ap.studios.component_studio import show; show()

One AppShell window, control-less TGlyph preview on the right, six tabs: Build (Build From Recipes, with Dump Component Recipes as "Dump from selection"), Replace (Replace Reference), Decompose (Decompose, Decompose Named Components and Decompose Serif Components as three scopes), Offsets (Copy Offsets Between Masters), Locations (Set Component Locations) and Locks (Unlock Lock). Each tab lists exactly the component edits it will write; Apply writes exactly that plan (a font changed in between is refused as stale) as one Component Studio: <action> <subject> Undo step through AppShell.history. Build keeps the original's route: missing master layers are added in one such step, then FontLab's own builder builds each layer (its Undo is FontLab's; see the Build tab).

Modules

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
APP attribute
PANELS attribute
TAB_TITLES attribute
register_tabs function () -> tuple[str, ...] Register each tab title not registered yet in this process; return the titles. (shared captured text)
show function (*args: Any, **kwargs: Any) -> Any Open Component Studio for the current font; see <code>app.show</code>.
tool_for function (shell: Any) -> Any The shared <code>studios.&#95;kerning.Tool</code><code> of </code><code>shell</code>, created on first use. (shared captured text)