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
| 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. |
méthodes
| 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 |
Voir aussi
- Aspose.Font — référence API d’entreprise