fontlab_glyport.model.proxies.GSFont · declarations 001
Back to fontlab_glyport.model.proxies.GSFont
__init__
__init__(model=None, id=None)
close
close(ignoreChanges: bool | None = None) -> None
Close; unsaved edits require an explicit ignoreChanges=True argument.
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
filepath
property
filepath: str | None
fontMasterForId_
fontMasterForId_(master_id)
formatVersion
property
writable
formatVersion
glyphForUnicode_
glyphForUnicode_(code)
glyphsInfo
glyphsInfo()
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
metrics
property
metrics
newTab
newTab(tabText='')
Open a FontLab glyph tab for this font (it becomes the active font).
parent
property
parent
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
tabs
property
tabs: ProxySequence
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