VariableInstancePackage

Overview

VariableInstancePackage is a class in Aspose.Font FOSS for Python.

Single-folder deliverable for variable font instance releases.

This class declares 2 methods for VariableInstancePackage objects in Python programs. Available methods include: generate_specimen_board, write_to. Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: build_time_ms, comparison_board, fonts, instances, output_directory, preview_text, and 3 more.

Properties

NameTypeAccessDescription
instanceslist["ResolvedInstance"]ReadGets the instances.
fontslist["TtfFont"]ReadGets the fonts.
comparison_boardPreviewImageReadGets the comparison board.
specimen_boardPreviewImageReadGets the specimen board.
stat_evidencedict[str, object]ReadGets the stat evidence.
review_manifestdict[str, object]ReadGets the review manifest.
preview_textstrReadGets the preview text.
output_directoryPathReadGets the output directory.
build_time_msfloatReadGets the build time ms.

Methods

SignatureDescription
generate_specimen_board(output_dir: Path) → PathWrite the specimen board PNG to output_dir and return its Path.
write_to(directory: str | Path, font_filename: str, stat_evidence_filename: str, preview_filename: str, specimen_filename: str, manifest_filename: str, summary_filename: str) → list[Path]Write package to filesystem.

See Also