Skip to content

fontlab_fontport.ufo_features · declarations 001

Back to fontlab_fontport.ufo_features

read_blocks

read_blocks(text: str) -> dict[str, Any]

Return detached ordered raw slices, including duplicate named tags.

stage_blocks

stage_blocks(current: str, values: Mapping[str, Any]) -> str | None

Return exact proposed text, or None for a true representation no-op.

Callers must assign only a non-None result. Unsupported boundaries and changed segmentation raise before any backend mutation can begin.