Skip to content

fontlab_glyport.model.creation · declarations 001

Back to fontlab_glyport.model.creation

AUTO_LAYER_FLAG module-attribute

AUTO_LAYER_FLAG

CAPABILITY module-attribute

CAPABILITY

capture

capture(backend, package)

component_data

component_data(values)

create_preserving

create_preserving(backend, package, name, builder, **kwargs)

glyph_json

glyph_json(reply)

Normalize bare or enveloped MCP glyphs to independent, list-only JSON.

guard_pending

guard_pending(package, glyph, *, capability=CAPABILITY)

Refuse edits incompatible with a pending glyph/layer batch in any session.

normalize_json

normalize_json(value)

fontpr exposes JSON arrays as tuples; set_glyph needs plain lists.

refresh

refresh(package, name)

MCP replaces layers: refresh retained handles without notifying them.

required

required(data, names)

Locks/attaching-anchor-only changes are the tolerated host fl#8512 defect.

Component base, order, complete transform and width must survive. When a restore is needed the entire original JSON (including anchors) is submitted.

restore

restore(package, states, read, builder)

signatures

signatures(glyph, names)

Read only bound component values; no serialization or model writes.