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
| Name | Type | Access | Description |
|---|---|---|---|
instances | list["ResolvedInstance"] | Read | Gets the instances. |
fonts | list["TtfFont"] | Read | Gets the fonts. |
comparison_board | PreviewImage | Read | Gets the comparison board. |
specimen_board | PreviewImage | Read | Gets the specimen board. |
stat_evidence | dict[str, object] | Read | Gets the stat evidence. |
review_manifest | dict[str, object] | Read | Gets the review manifest. |
preview_text | str | Read | Gets the preview text. |
output_directory | Path | Read | Gets the output directory. |
build_time_ms | float | Read | Gets the build time ms. |
Methods
| Signature | Description |
|---|---|
generate_specimen_board(output_dir: Path) → Path | Write 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. |