Skip to content

fontlabapp.fontui.node_editor.coordinates

coordinates

Follow selected nodes as you edit; inspect coordinates, offsets and distances.

What it does: Open a glyph, run this script and select nodes. Both tables update every 400 ms. Copy exports the displayed node coordinates as tab-separated lines. Contour numbers start at one; node indices start at zero. Component contours are excluded. The modeless panel reads the bound font only. Switching or closing that font stops polling; reopen the tool to bind another font. No font data is written.

How it works: Read selected own nodes on the bound glyph layer and publish both tables from the same snapshot. Poll every 400 ms and recheck that snapshot before Copy.

Why this design: Live coordinates support measurement while a stale-font refusal prevents copying values from a different document under the old panel title.

How to use: Open a glyph and run Contours > Node Coordinates Panel. Select nodes, inspect positions and distances, then use Copy for the displayed tab- separated coordinates.

Benefit: Measure selected nodes without moving them; Close stops polling and releases owned connections.

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
INTERVAL_MS attribute
KEY attribute
NamesDialog attribute
QtCore attribute (shared captured text)
QtGui attribute (shared captured text)
TITLE attribute
api attribute
current_glyph attribute
fill_table attribute
main function () -> Any Show one owned modeless panel through the existing script registry.
make_table attribute
measures attribute
number attribute
own_contours attribute
qt attribute (shared captured text)
selected_nodes attribute