Skip to content

fontlabapp.studios.vertical_metrics.app · declarations 001

Back to fontlabapp.studios.vertical_metrics.app

apply_current

apply_current(panel: Any) -> Any

configure

configure(shell: Any) -> Any

Keep editable metric drafts until explicit Apply or Discard preview.

dirty

dirty(panel: Any) -> bool

An invalid cell is still a draft even though it has no valid change list.

show

show(parent: Any = None, *, package: Any = None, font: Any = None, preview: Any = None) -> Any

Open Vertical Metrics & Zones for the current font; return the shell.

package/font are getters and preview a factory (shell, tool) (tests inject them); by default the live package, Fontport font and an embedded control-less read-only TMetrics are used.

show_font_metrics

show_font_metrics(parent: Any = None, *, package: Any = None, font: Any = None, preview: Any = None) -> Any

Open the Font Info metrics table and whole-font calculation routes.

show_vertical_metrics

show_vertical_metrics(parent: Any = None, *, package: Any = None, font: Any = None, preview: Any = None) -> Any

Open alignment zones and the vertical-metrics diagram.