VariableInstanceBuilder
Overview
VariableInstanceBuilder is a class in Aspose.Font FOSS for Python.
Build variable instance release packages from variable fonts.
This class declares 2 methods for VariableInstanceBuilder objects in Python programs.
Available methods include: __init__, build_package.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: font, smart_instancer.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
font | "TtfFont" | Read | Gets the font. |
smart_instancer | SmartInstancer | Read | Gets the smart instancer. |
Methods
| Signature | Description |
|---|---|
__init__(font: "TtfFont") | Calls init(font) on this VariableInstanceBuilder instance. |
build_package(names: list[str] | tuple[str, ...] | None, include_default: bool, naming_strategy: str, family_suffix: str | None, legacy_family_name: str | None, typographic_family_name: str | None, legacy_style_name: str | None, typographic_style_name: str | None, stat_policy: str, preserve_source_stat_flags: bool | str, preview_text: str, specimen_caption: str | None, compare_axes: Sequence[str] | None, apply_avar: bool, max_instances: int | None, ci_fast_mode: bool, skip_hvar: bool) → VariableInstancePackage | Accepts a list of instance names and a full set of naming and preview options to produce a VariableInstancePackage |