fontlab.FaBasicPtr · declarations 001
canBeFixed
instance-attribute
canBeFixed: Any
bool
True if calling fix() will automatically resolve this issue. False for issues that require manual intervention (e.g. a very complex curve that the auto-fixer doesn't know how to improve).
Source: FontLab Proteus API documentation
contour
instance-attribute
contour: Any
flContour
The contour this issue is associated with, or Nothing if the issue is at a higher level (e.g. a font-level metric problem).
Source: FontLab Proteus API documentation
fix
fix() -> Any
flGlyph/Nothing fix()
Attempts to automatically fix the outline problem described by this record. For example: closes an open contour, corrects a reversed path direction, or adds a missing extremum node. Returns the modified flGlyph if the fix was applied, or Nothing if the issue cannot be auto-corrected (some issues require manual designer judgement). Always call fl.Update() after fixing to refresh the canvas.
Source: FontLab Proteus API documentation
id
instance-attribute
id: Any
int
The numeric code identifying which audit rule produced this finding. Stable across FontLab versions.
Source: FontLab Proteus API documentation
location
instance-attribute
location: Any
QPointF
The glyph-space coordinates of where the issue is located. Use this with flAuditInfo.glyphLocation() to convert to canvas coordinates for drawing an indicator.
Source: FontLab Proteus API documentation
nodeIndex
instance-attribute
nodeIndex: Any
int
The index of the specific node involved in this issue within its contour. -1 if the issue is not associated with a particular node. Use this with contour.nodeAtIndex(nodeIndex) to retrieve the problematic node.
Source: FontLab Proteus API documentation
priority
instance-attribute
priority: Any
int
The severity of this issue. Higher numbers are more important. Use this to sort issues by priority when generating a report.
Source: FontLab Proteus API documentation
report
instance-attribute
report: Any
QString
The full detailed description of the issue, including measurements, coordinate values, and fix recommendations. This is the text that FontLab shows in its audit panel.
Source: FontLab Proteus API documentation
title
instance-attribute
title: Any
QString
A brief, human-readable name for this type of issue, such as "Open contour", "Wrong direction", "Almost flat curve". Use this in log output or a custom report.
Source: FontLab Proteus API documentation
vector
instance-attribute
vector: Any
QPointF
A direction vector associated with the issue. For example, for a "node should move to extremum" issue, this vector points from the current position to the target extremum position.
Source: FontLab Proteus API documentation