Skip to content

fontlab_fontport.native_import · declarations 001

Back to fontlab_fontport.native_import

import_designspace

import_designspace(path: str | Path, application=None) -> NativeFontBackend

Open path (.designspace) with its source UFOs as one owned document.

The source UFOs must exist where the designspace points; FontLab, not this function, resolves them. Close the result with backend.close().

import_ufo_native

import_ufo_native(path: str | Path, application=None) -> NativeFontBackend

Open path (.ufo directory) as a new owned FontLab document.