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

NameTypeAccessDescription
recordslist[FeatureVariationRecord]Read/WriteGets or sets the records.
feature_tagslist[str]Read/WriteGets or sets the feature tags.

Methods

SignatureDescription
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() → bytesCalls to_bytes on this FeatureVariationTable instance.

See Also