CmapTable
Overview
CmapTable is a class in Aspose.Font FOSS for Python.
CmapTable.from_reader(r, table_length) parses a cmap table from a font stream, and best_subtable() selects the most suitable CmapSubtable for Unicode lookups.
Description
CmapTable is a class in the Aspose.Font FOSS library for Python that exposes 3 methods and 1 property for programmatic use.
Core capabilities include: list[cmapsubtable]. These operations enable developers to integrate cmaptable functionality directly into Python applications.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
subtables | list[CmapSubtable] | Read |
Methods
| Signature | Description |
|---|---|
best_subtable() → CmapSubtable | |
from_reader(r: BinaryReader, table_length: int) → "CmapTable" | Parses a cmap table from a font stream, and best_subtable() selects the most suitable CmapSubtable for Unicode lookups |
to_bytes() → bytes |