fontlab_fontport.native_features · declarations 001
Back to fontlab_fontport.native_features
blocks_from_info
blocks_from_info(info: Mapping) -> dict
Parse only the VFJ writer's stored text, never binary-decompiled views.
Call this on an externally obtained get_font_info snapshot when its large metadata payload cannot fit a run_python call. It does not fetch native data.
read_blocks
read_blocks(font_id: int) -> dict
read_info
read_info(font_id: int) -> Mapping
Embedded fontpr dispatches directly in-process; no recursive HTTP call.
stage_blocks
stage_blocks(values: Mapping) -> dict
Pure history split-back check; does not allocate native feature storage.
text_from_blocks
text_from_blocks(blocks: Mapping) -> str
write_blocks
write_blocks(package: Any, font_id: int, values: Mapping, undo_name: str) -> None
Replay the VFJ loader's calls inside package/features history checkpoints.
Group classes are not accessed or rewritten. Unexpected native failures can leave partial changes, as with the other native writes; no atomicity claim.