Os2Table
Os2Table
Panoramica
Os2Table è una classe in Aspose.Font FOSS per Python.
Os2Table.from_reader(r, table_length) analizza una tabella OS/2 da un lettore binario e restituisce un’istanza Os2Table.
Questa classe fornisce 2 metodi per lavorare con oggetti Os2Table nei programmi Python. I metodi disponibili includono: from_reader, to_bytes. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Python dopo aver installato il pacchetto Aspose.Font FOSS per Python. Proprietà: ach_vend_id, fs_selection, fs_type, panose, s_typo_ascender, s_typo_descender, e 4 altri.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
version | int | Lettura/Scrittura | Ottiene o imposta la versione. |
fs_type | int | Lettura/Scrittura | Ottiene o imposta il tipo fs. |
s_typo_ascender | int | Lettura/Scrittura | Ottiene o imposta l’ascendente s typo. |
s_typo_descender | int | Lettura/Scrittura | Ottiene o imposta il valore di s typo descender. |
s_typo_line_gap | int | Lettura/Scrittura | Ottiene o imposta il gap della linea s typo. |
us_win_ascent | int | Lettura/Scrittura | Ottiene o imposta l’us win ascent. |
us_win_descent | int | Lettura/Scrittura | Ottiene o imposta la discendenza us win. |
fs_selection | int | Lettura/Scrittura | Ottiene o imposta la selezione fs. |
panose | bytes | Lettura/Scrittura | Ottiene o imposta il panose. |
ach_vend_id | str | Lettura/Scrittura | Ottiene o imposta l’ach vend id. |
Metodi
| Firma | Descrizione |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "Os2Table" | Analizza una tabella OS/2 da un lettore binario e restituisce un’istanza Os2Table |
to_bytes() → bytes | Serializza i campi della tabella OS/2 in un oggetto bytes |