GlyphVariations
Overview
GlyphVariations is a class in Aspose.PDF FOSS for Python.
The gvar table of one font, read on demand per glyph.
This class declares 2 methods for GlyphVariations objects in Python programs.
Available methods include: __init__, deltas.
Public members are accessible to any Python application after installing the Aspose.PDF FOSS for Python package.
Properties: ok.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ok | bool | Read | True when a usable gvar table was read. |
Methods
| Signature | Description |
|---|---|
__init__(table: bytes | None, axis_count: int) | Calls init(table, axis_count) on this GlyphVariations instance. |
deltas(gid: int, point_count: int, coordinates: tuple[float, ...], contour_ends: list[int] | None, points: list[tuple[float, float]] | None) → list[tuple[float, float]] | None | The total movement of each of gid’s points at coordinates. |