Skip to content

fontlab_fontport.live.RFont · declarations 001

Back to fontlab_fontport.live.RFont

__getattribute__

__getattribute__(name)

capabilities

capabilities()

Return backend capability evidence without requiring a live document.

copy

copy()

edit_glyph

edit_glyph(name, *, layer=None, undo_name='FontParts glyph edit')

Stage a complete pen operation, then issue exactly one backend write.

Native history semantics still depend on the backend. A successful commit invalidates loaded handles; fetch the glyph again afterwards.

glyph_summaries

glyph_summaries(layer=None)

Return (name, unicodes, width) for every glyph on layer.

layer defaults to the default layer. Reads the backend in one pass without loading outlines, so a whole-font scan stays cheap.

images property

images

invalidate

invalidate()

Drop cached bindings, including after external document closure.

refresh

refresh()

Invalidate all existing layer/glyph handles before reading fresh data.