Skip to content

fontlab_glyport.model.proxies.GSFont · declarations 001

Back to fontlab_glyport.model.proxies.GSFont

__init__

__init__(model=None, id=None)

axes property

classes property

classes: ProxySequence

close

close(ignoreChanges: bool | None = None) -> None

Close; unsaved edits require an explicit ignoreChanges=True argument.

currentTab property writable

currentTab: GSEditViewController | None

customParameters property

customParameters: CustomParameters

disableUpdateInterface

disableUpdateInterface() -> None

No-op: glyport publishes edits per undo group, not per UI refresh.

enableUpdateInterface

enableUpdateInterface() -> None

No-op counterpart of disableUpdateInterface.

familyName property writable

familyName: str

featurePrefixes property

featurePrefixes: ProxySequence

features property

features: ProxySequence

filepath property

filepath: str | None

fontMasterForId_

fontMasterForId_(master_id)

formatVersion property writable

formatVersion

glyphForUnicode_

glyphForUnicode_(code)

glyphs property

glyphs: ProxySequence

glyphsInfo

glyphsInfo()

instances property

instances: ProxySequence

kerning property

kerning

LTR master writeback mapping; nested pair mappings are read-only.

kerningDict

kerningDict()

kerningForPair

kerningForPair(fontMasterId, leftKey, rightKey, direction=GSLTR)

Explicit pair only; Glyphs' Python wrapper converts large values to None.

masterIndex property writable

masterIndex

masters property

masters: ProxySequence

metrics property

metrics

newTab

newTab(tabText='')

Open a FontLab glyph tab for this font (it becomes the active font).

parent property

parent

removeKerningForPair

removeKerningForPair(fontMasterId, leftKey, rightKey, direction=GSLTR)

save

save(path: str | None = None, formatVersion=None, makeCopy=False) -> None

Save a native document or copy; Glyphs serialization versions are unsupported.

selectedFontMaster property writable

selectedFontMaster

FontLab's current master of this font.

selectedLayers property

selectedLayers: list

FontLab's current glyphs of this font (glyph tab or font window).

selection property writable

selection: list

setKerningForPair

setKerningForPair(fontMasterId, leftKey, rightKey, value, direction=GSLTR)

tabs property

The current native edit tab (other FontLab canvases are not exposed).

tool property writable

tool

undo_group

undo_group(name)

unitsPerEm property writable

unitsPerEm: int

upm property writable

upm: int

userData property

userData: UserData