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
| Name | Type | Access | Description |
|---|---|---|---|
head | HeadTable | None | Read/Write | Gets or sets the head. |
hhea | HheaTable | None | Read/Write | Gets or sets the hhea. |
maxp | MaxpTable | None | Read/Write | Gets or sets the maxp. |
os2 | Os2Table | None | Read/Write | Gets or sets the os2. |
name | NameTable | None | Read/Write | Gets or sets the name. |
post | PostTable | None | Read/Write | Gets or sets the post. |
cmap | CmapTable | None | Read/Write | Gets or sets the cmap. |
loca | LocaTable | None | Read/Write | Gets or sets the loca. |
hmtx | HmtxTable | None | Read/Write | Gets or sets the hmtx. |
kern | KernTable | None | Read/Write | Gets or sets the kern. |
glyf | GlyfTable | None | Read/Write | Gets or sets the glyf. |
fvar | FvarTable | None | Read/Write | Gets or sets the fvar. |
hvar | HvarTable | None | Read/Write | Gets or sets the hvar. |
Methods
| Signature | Description |
|---|---|
get_raw(tag: str) → bytes | None | Returns 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. |