Skip to content

fontlab_fontport.export · declarations 001

Back to fontlab_fontport.export

compile_ttf

compile_ttf(source: str | Path, destination: str | Path) -> Path

Compile a saved UFO externally; native FontLab's five-second limit applies.

Uses upstream ufo2ft's default cubic-to-quadratic conversion (1/1000 UPM maximum conversion error), without claiming native hints or source features.

export_ufo_subset

export_ufo_subset(backend: FontBackend, names: Iterable[str], destination: str | Path, *, family_name: str, license_text: str | None = None, source_url: str | None = None) -> Path

Export selected glyphs plus all component dependencies, without overwrite.

Supply a deliberate output family name. Preserve the source copyright and optionally include its licence text and public provenance URL. The caller chooses the output identity; this function does not clear reserved names.