Skip to content

fontlab.flPinPoint · declarations 001

Back to fontlab.flPinPoint

PinPointStyle instance-attribute

PinPointStyle: dict

anchor instance-attribute

anchor: Any

bool

When True, this is a mark attachment anchor for mark-to-base positioning. When False, it is a metrics or reference point.

Source: FontLab Proteus API documentation

appearance instance-attribute

appearance: Any

int

Visual style index controlling how this anchor is drawn in the editor. Different values produce different triangle styles or sizes.

Source: FontLab Proteus API documentation

cloudEnabled instance-attribute

cloudEnabled: Any

bool

Enables glyph construction, automatic positioning, Anchor Clouds, and live Mark Attachment preview. Turning this off also clears markEnabled; turning it back on does not restore mark participation.

Source: FontLab Proteus API documentation

createInstance

createInstance() -> flPinPoint

flPinPoint createInstance()

Allocates and returns a new, empty anchor instance.

Source: FontLab Proteus API documentation

expressionX instance-attribute

expressionX: Any

string

Arithmetic expression controlling the anchor's X position. Use font metric names as variables: "=lsb", "=rsb", "=xHeight * 0.5", etc.

Source: FontLab Proteus API documentation

expressionY instance-attribute

expressionY: Any

string

Arithmetic expression for the anchor's Y position. Works the same way as expressionX.

Source: FontLab Proteus API documentation

hasExpression instance-attribute

hasExpression: Any

bool hasExpression()

True if either expressionX or expressionY is set. Check this before reading expressions.

Source: FontLab Proteus API documentation

isLatch instance-attribute

isLatch: Any

bool isLatch()

True if this anchor is in latch (locked) mode — snapped to and held at a specific contour position.

Source: FontLab Proteus API documentation

markEnabled instance-attribute

markEnabled: Any

bool

Enables participation in generated OpenType mark and mkmk features. Requires cloudEnabled. Setting this to True while cloud is off leaves mark disabled.

Source: FontLab Proteus API documentation

name instance-attribute

name: Any

object name

The anchor's name — what pairs anchors between base letters and marks. Use "top" on a base and "_top" on a mark to create a mark-to-base relationship.

Source: FontLab Proteus API documentation

point instance-attribute

point: Any

QPointF

The anchor's position in font units. Read with .point.x() and .point.y(), or assign a new QPointF to move it.

Source: FontLab Proteus API documentation

style instance-attribute

style: Any

PinPointStyle style()

The display style enum for this pin-point. Related to appearance.

Source: FontLab Proteus API documentation

translate

translate(arg0: QPointF) -> Any

translate(QPointF)

Moves the anchor by the given offset vector. For example, translate(QPointF(0, 10)) nudges the anchor 10 units upward.

Source: FontLab Proteus API documentation