FeatureVariationTable
Overview
FeatureVariationTable is a class in Aspose.Font FOSS for Python.
FeatureVariationTable enables conditional feature activation based on axis coordinates, supporting variable‑font variations.
This class declares 3 methods for FeatureVariationTable objects in Python programs.
Available methods include: find_applicable_records, from_reader, to_bytes.
Public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: feature_tags, records.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
records | list[FeatureVariationRecord] | Read/Write | Gets or sets the records. |
feature_tags | list[str] | Read/Write | Gets or sets the feature tags. |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "FeatureVariationTable" | Calls from_reader(r, table_length) on this FeatureVariationTable instance. |
find_applicable_records(coordinates: dict[str, float], axis_tags: list[str]) → list[FeatureVariationRecord] | Returns the list of variation records that match the given axis settings |
to_bytes() → bytes | Calls to_bytes on this FeatureVariationTable instance. |