AvarTable
Overview
AvarTable is a class in Aspose.Font FOSS for Python.
AvarTable.from_reader(r, length) constructs an AvarTable from a binary reader, and map_normalized(axis_index, value) returns the mapped float for a normalized axis coordinate.
Description
AvarTable is a class in the Aspose.Font FOSS library for Python that exposes 2 methods and 1 property for programmatic use.
Core capabilities include: list[avaraxismap]. These operations enable developers to integrate avartable functionality directly into Python applications.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
axis_maps | list[AvarAxisMap] | Read |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader, length: int) → "AvarTable" | Constructs an AvarTable from a binary reader positioned at the start of an avar table, and map_normalized(axis_index, value) returns the adjusted normalized coordinate for that axis |
map_normalized(axis_index: int, value: float) → float | Returns the normalized coordinate for a given axis after applying the avar mapping |