Skip to content

fontlabapp.contours.nodes_near_zones.model · declarations 001

Back to fontlabapp.contours.nodes_near_zones.model

DEFAULT_TOLERANCE module-attribute

DEFAULT_TOLERANCE

HEADER module-attribute

HEADER

near_misses

near_misses(points: list, zone_list: tuple, tolerance: float) -> list

(label, zone y, x, y) where 0 < |y - zone y| <= tolerance.

on_curve_points

on_curve_points(layer: Any, point_type: Any) -> list

On-curve node positions of the layer's own shapes; point_type is QPointF.

render

render(report: NodesNearZonesReport) -> str

Tab-separated table with the signed offset of each node.

scan

scan(package: Any, names: list, tolerance: float, metrics_of: Any, point_type: Any) -> tuple

Rows (glyph, master, zone, zone y, x, y); metrics_of(master) gives metrics.

summary

summary(report: NodesNearZonesReport) -> str

One-line result for the status bar.

zones

zones(metrics: Any) -> tuple

Named vertical zones for one master's metrics.