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

NameTypeAccessDescription
magicintRead/WriteGets or sets the magic.
major_versionintRead/WriteGets or sets the major version.
minor_versionintRead/WriteGets or sets the minor version.
font_revisionfloatRead/WriteGets or sets the font revision.
checksum_adjustmentintRead/WriteGets or sets the checksum adjustment.
flagsintRead/WriteGets or sets the flags.
units_per_emintRead/WriteGets or sets the units per em.
createdintRead/WriteGets or sets the created.
modifiedintRead/WriteGets or sets the modified.
x_minintRead/WriteGets or sets the x min.
y_minintRead/WriteGets or sets the y min.
x_maxintRead/WriteGets or sets the x max.
y_maxintRead/WriteGets or sets the y max.
mac_styleintRead/WriteGets or sets the mac style.
lowest_rec_ppemintRead/WriteGets or sets the lowest rec ppem.
font_direction_hintintRead/WriteGets or sets the font direction hint.
index_to_loc_formatintRead/WriteGets or sets the index to loc format.
glyph_data_formatintRead/WriteGets or sets the glyph data format.

Methods

SignatureDescription
from_reader(r: BinaryReader)"HeadTable"Reads a BinaryReader and returns a populated HeadTable instance
to_bytes()bytesSerializes the HeadTable fields into a bytes object

See Also