Skip to content

fontlab.flZone · declarations 001

Back to fontlab.flZone

guaranteeName

guaranteeName(top: bool) -> Any

guaranteeName(bool top)

If the zone has no name, automatically assign a unique default name based on its position and whether it is a top or bottom zone.

Source: FontLab Proteus API documentation

position instance-attribute

position: Any

double

The Y-coordinate of the zone's reference edge, in font units. For a baseline zone this is 0; for a cap-height zone it might be 700.

Source: FontLab Proteus API documentation

toZone

toZone(arg0: fgZone, top: bool) -> Any

toZone(fgZone, bool top)

Export this zone into a low-level fontgate zone object. Pass top=True for top zones, top=False for bottom zones. Called internally during font export.

Source: FontLab Proteus API documentation

width instance-attribute

width: Any

double

How far the zone extends from its reference edge. Positive for top zones (extending upward); negative for bottom zones (extending downward). This width covers the overshoot range.

Source: FontLab Proteus API documentation