Skip to content

fontlabapp.masters.switcher.model · declarations 001

Back to fontlabapp.masters.switcher.model

button_values

button_values(package: Any | None) -> tuple[tuple[str, str], ...]

Read every ordered master/label before creating actionable buttons.

location_label

location_label(package: Any, master: str) -> str

Keep original numeric axis locations and omit unavailable coordinates.

switch

switch(package: Any, master: str) -> None

Set a known font master with setMaster(master, True). Call no refresh.

FontLab 9.0.9790 (issue 122 M1): UpdateAll() queued glyph ids in flGlyph.updatedFgGlyphs() (FontLab issue 8537) and changed no pixel in the Font window. setMaster alone gave the same state with an empty queue. Do not add notifyPackageContentUpdated: it reverted the master.