Os2Table
Os2Table
Overview
Os2Table je třída v Aspose.Font FOSS pro Python.
Os2Table.from_reader(r, table_length) analyzuje tabulku OS/2 z binárního čtenáře a vrací instanci Os2Table .
Tato třída poskytuje 2 metody pro práci s Os2Table objekty v programech Python. K dispozici jsou následující metody: from_reader, to_bytes. Všechny veřejné členy jsou přístupné jakékoli aplikaci Python po instalaci balíčku Aspose.Font FOSS pro Python. Vlastnosti: ach_vend_id, fs_selection, fs_type, panose, s_typo_ascender, s_typo_descender,A další čtyři.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
version | int | Čtení/psaní | Dostane nebo nastaví verzi. |
fs_type | int | Čtení/psaní | Získala nebo nastavila typ fs. |
s_typo_ascender | int | Čtení/psaní | Získal nebo nastavil typovou chybu. |
s_typo_descender | int | Čtení/psaní | Získává nebo nastaví s typo descent. |
s_typo_line_gap | int | Čtení/psaní | Získala nebo nastavila mezeru s. |
us_win_ascent | int | Čtení/psaní | Získal nebo nastavil americký výstup. |
us_win_descent | int | Čtení/psaní | Získal nebo nastavil americký výherný sestup. |
fs_selection | int | Čtení/psaní | Získala nebo nastavila výběr fs. |
panose | bytes | Čtení/psaní | Dostane nebo nastaví panose. |
ach_vend_id | str | Čtení/psaní | Dostane nebo nastaví ach vend id. |
Methods
| Signature | Description |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "Os2Table" | Parse OS/2 tabulku z binárního čtenáře a vrací Os2Table instance. |
to_bytes() → bytes | Serializace polí v tabulce OS/2 do objektu bytesů |