GvarTable
Overview
GvarTable is a class in Aspose.Font FOSS for Python.
GvarTable.from_reader reads a GvarTable from a BinaryReader using the given length and axis tags.
This class provides 2 methods for working with GvarTable objects in Python programs.
Available methods include: from_reader, glyph_variations.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: axis_count, data_offset, glyph_offsets, shared_tuples.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
axis_count | int | Read/Write | Gets or sets the axis count. |
shared_tuples | list[tuple[float, ...]] | Read/Write | Gets or sets the shared tuples. |
glyph_offsets | list[int] | Read/Write | Gets or sets the glyph offsets. |
data_offset | int | Read/Write | Gets or sets the data offset. |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader, length: int, axis_tags: list[str]) → "GvarTable" | Reads a GvarTable from a BinaryReader using the given length and axis tags |
glyph_variations(gid: int, point_count: int) → list[TupleVariation] | Returns a list of TupleVariation objects for the specified glyph ID and point count |