HeadTable

Vue de l’ensemble

‘HeadTable’ est une classe dans Aspose.Font FOSS pour Python.

HeadTable.from_reader lit un BinaryReader et retourne une instance de Head Table populaire.

Cette classe fournit 2 méthodes pour travailler avec des objets de table-tête dans les programmes Python. Les méthodologies disponibles comprennent: from_reader, to_bytes. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation d’Aspose.Font FOSS pour le package PyThone. Propriétés: ‘checksum_adjustment’, ‘created’, flags , ‘font_direction_hint ; ' font_revision et 12 autres.

Propriétés

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.

méthodes

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

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français