fontlabapp.studios.vertical_metrics
vertical_metrics
Vertical Metrics & Zones (Phase D A12): master metrics, zones and the italic angle, with a dry run before every Apply.
Launch inside FontLab with::
from fly.ap.studios.vertical_metrics import show; show()
One AppShell window, read-only TMetrics on top, five tabs: Metrics table
(Master Metrics Table), Calculate (Calculate Vertical Metrics; Vertical
Metrics Reporter), Zones (Alignment Zones; Suggest Zones From Overshoots),
Italic angle (Italic Angle) and Diagram (Vertical Metrics Diagram; Nodes Near
Zones). The Diagram tab and the Reporter only read. Each edit tab lists
exactly the master values it will change; Apply writes exactly that list (a
source changed in between is refused as stale) as one
Vertical Metrics: <action> of <masters> Undo step. These are master and
font-info values, not glyph layers, so AppShell.history (glyph layers
only) cannot wrap them: each Apply goes through the existing route-A writer
of its original with the app's label (see _shared).
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 | ||
LABEL |
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 Vertical Metrics & Zones for the current font; see <code>app.show</code>. |
tool_for |
function | (shell: Any) -> Any |
The shared <code>studios._kerning.Tool</code><code> of </code><code>shell</code>, created on first use. (shared captured text) |