fontlabapp.studios.component_studio.offsets
offsets
Offsets tab (Copy Offsets Between Masters): copy component offsets from one master to others.
The original's rules are kept unchanged (offset_changes): components
are matched by position and base glyph name; a target layer with other
components, or in another order, is listed as "different components,
kept". With "Scale x by advance-width ratio" (off by default) the
horizontal offset is multiplied by target width / source width and rounded
half up; the vertical offset is copied as it is. Only the offset changes.
"From" defaults to the current master; "To" lists every other master, all
ticked; "Tick at least one target master." refuses an empty choice.
Apply writes the listed offsets as one
Component Studio: copy component offsets <subject> Undo step
(MoveEditor). Auto layers are listed and kept; a glyph that owns auto
layers or is a base of one is refused (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_panel |
attribute | ||
component_writer |
attribute | (shared captured text) | |
offset_changes |
function | (source: Any, target: Any, scale: bool) -> list[component_writer.Change] |
One row per component of the target: current and new offset. |