fontlabapp.masters.layers.writer.Editor · declarations 001
Back to fontlabapp.masters.layers.writer.Editor
check
check(prepared: list[tuple[Any, list[Any]]]) -> list[str]
Return one text per step that the font does not hold. Default: none.
prepare
prepare(layer: Any, edits: list[Any]) -> list[Any]
Return the steps for edits. The default keeps the edits as steps.
retain
retain(steps: list[Any]) -> list[Any]
Native objects that the write removes and FontLab's Undo must keep.
write
write(layer: Any, steps: list[Any]) -> None
Change the layer. A subclass must override it.