TtfTableSet

Overview

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

TtfTableSet.get_raw returns the raw bytes of the table identified by the given tag, or None if absent.

This class provides 2 methods for working with TtfTableSet objects in Python programs. Available methods include: get_raw, set_raw. All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package. Properties: cmap, fvar, glyf, head, hhea, hmtx, and 7 more.

Properties

NameTypeAccessDescription
headHeadTable | NoneRead/WriteGets or sets the head.
hheaHheaTable | NoneRead/WriteGets or sets the hhea.
maxpMaxpTable | NoneRead/WriteGets or sets the maxp.
os2Os2Table | NoneRead/WriteGets or sets the os2.
nameNameTable | NoneRead/WriteGets or sets the name.
postPostTable | NoneRead/WriteGets or sets the post.
cmapCmapTable | NoneRead/WriteGets or sets the cmap.
locaLocaTable | NoneRead/WriteGets or sets the loca.
hmtxHmtxTable | NoneRead/WriteGets or sets the hmtx.
kernKernTable | NoneRead/WriteGets or sets the kern.
glyfGlyfTable | NoneRead/WriteGets or sets the glyf.
fvarFvarTable | NoneRead/WriteGets or sets the fvar.
hvarHvarTable | NoneRead/WriteGets or sets the hvar.

Methods

SignatureDescription
get_raw(tag: str)bytes | NoneReturns the raw bytes of the table identified by the given tag, or None if absent
set_raw(tag: str, data: bytes)Sets the raw value.

See Also