PostTable
PostTable
Gambaran Umum
PostTable adalah kelas dalam Aspose.Font FOSS untuk Python.
PostTable.version menyimpan nomor versi tabel posting.
Kelas ini menyediakan 3 metode untuk bekerja dengan objek PostTable dalam program Python. Metode yang tersedia meliputi: from_reader, glyph_name, to_bytes. Semua anggota publik dapat diakses oleh aplikasi Python mana pun setelah memasang paket Aspose.Font FOSS untuk Python. Properti: glyph_names, is_fixed_pitch, italic_angle, underline_position, underline_thickness, version.
Properti
| Nama | Jenis | Akses | Deskripsi |
|---|---|---|---|
version | int | Baca/Tulis | Mendapatkan atau mengatur versi. |
italic_angle | float | Baca/Tulis | Mendapatkan atau menetapkan sudut miring. |
underline_position | int | Baca/Tulis | Mendapatkan atau mengatur posisi garis bawah. |
underline_thickness | int | Baca/Tulis | Mendapatkan atau mengatur ketebalan garis bawah. |
is_fixed_pitch | int | Baca/Tulis | Mendapatkan atau mengatur apakah pitch tetap. |
glyph_names | `list[str] | None` | Baca/Tulis |
Metode
| Tanda Tangan | Deskripsi |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "PostTable" | parses a TrueType 'post' table from a binary reader and returns aPostTable instance |
to_bytes() → bytes | Memanggil to_bytes pada instance PostTable ini. |
glyph_name(gid: int) → `str | None` |