GlyfTable

Overview

GlyfTable is a class in Aspose.Font FOSS for Python.

GlyfTable.from_reader reads a GlyfTable from a BinaryReader using the specified length and returns a GlyfTable instance.

This class provides 3 methods for working with GlyfTable objects in Python programs. Available methods include: from_reader, get_glyph_bytes, to_bytes. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.

Methods

SignatureDescription
from_reader(r: BinaryReader, length: int)"GlyfTable"Reads a GlyfTable from a BinaryReader using the specified length and returns a GlyfTable instance
to_bytes()bytesSerializes the GlyfTable into a bytes object representing its binary data
get_glyph_bytes(offset: int, length: int)bytesReturns the raw glyph bytes located at the given offset and length

See Also