HeadTable
Overview
HeadTable is a class in Aspose.Font FOSS for Python.
HeadTable.from_reader reads a BinaryReader and returns a populated HeadTable instance.
This class provides 2 methods for working with HeadTable objects in Python programs.
Available methods include: from_reader, to_bytes.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: checksum_adjustment, created, flags, font_direction_hint, font_revision, glyph_data_format, and 12 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
magic | int | Read/Write | Gets or sets the magic. |
major_version | int | Read/Write | Gets or sets the major version. |
minor_version | int | Read/Write | Gets or sets the minor version. |
font_revision | float | Read/Write | Gets or sets the font revision. |
checksum_adjustment | int | Read/Write | Gets or sets the checksum adjustment. |
flags | int | Read/Write | Gets or sets the flags. |
units_per_em | int | Read/Write | Gets or sets the units per em. |
created | int | Read/Write | Gets or sets the created. |
modified | int | Read/Write | Gets or sets the modified. |
x_min | int | Read/Write | Gets or sets the x min. |
y_min | int | Read/Write | Gets or sets the y min. |
x_max | int | Read/Write | Gets or sets the x max. |
y_max | int | Read/Write | Gets or sets the y max. |
mac_style | int | Read/Write | Gets or sets the mac style. |
lowest_rec_ppem | int | Read/Write | Gets or sets the lowest rec ppem. |
font_direction_hint | int | Read/Write | Gets or sets the font direction hint. |
index_to_loc_format | int | Read/Write | Gets or sets the index to loc format. |
glyph_data_format | int | Read/Write | Gets or sets the glyph data format. |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader) → "HeadTable" | Reads a BinaryReader and returns a populated HeadTable instance |
to_bytes() → bytes | Serializes the HeadTable fields into a bytes object |