Skip to content

fontlab.flGlyph · declarations 003

Back to fontlab.flGlyph

tags instance-attribute

tags: Any

QStringList

The list of explicit tags you have applied to this glyph. Combine with virtualTags() to get the full tag set.

Source: FontLab Proteus API documentation

unselectAllNodes

unselectAllNodes() -> Any

unselectAllNodes()

Deselect every node across all layers and shapes in this glyph.

Source: FontLab Proteus API documentation

updateActiveLayer

updateActiveLayer(bool: Any) -> flLayer

flLayer updateActiveLayer(bool)

Force FontLab to re-evaluate which layer should be shown as active in the glyph editor. Returns the newly active layer.

Source: FontLab Proteus API documentation

updateAudit

updateAudit(*args: Any, **kwargs: Any) -> Any

void updateAudit(list(int))

Re-run specific audit checks on this glyph, identified by their integer check IDs.

Source: FontLab Proteus API documentation

updateFgGlyph

updateFgGlyph(id: int) -> Any

updateFgGlyph(uint id)

Schedule a glyph (by its internal id) for a low-level data refresh on the next update cycle.

Source: FontLab Proteus API documentation

updateSidebearings

updateSidebearings(nofify: bool) -> bool

bool updateSidebearings(bool nofify)

Re-evaluate the glyph's metric expressions and recalculate the sidebearings from them. Call after changing metricsLeft or metricsRight expressions. Pass notify=True to trigger a UI refresh.

Source: FontLab Proteus API documentation

updatedFgGlyphs

updatedFgGlyphs() -> Any

list(uint32_t) updatedFgGlyphs()

Return the list of glyph ids that are queued for a low-level data refresh.

Source: FontLab Proteus API documentation

vertReflection

vertReflection() -> bool

bool vertReflection()

Return True if the glyph is vertically mirrored (flipped upside-down).

Source: FontLab Proteus API documentation

virtualTags

virtualTags() -> Any

QSet/Nothing virtualTags()

Return a set of tags that FontLab derives automatically from the glyph's unicode category (e.g. "letter", "mark", "digit"). These are read-only; use setTag for your own tags.

Source: FontLab Proteus API documentation