PostTable

Overview

PostTable เป็นคลาสใน Aspose.Font FOSS สําหรับ Python.

PostTable.version holds the version number of the post table.

หมวดนี้ให้ 3 วิธีในการทํางานกับวัตถุ PostTable ในโปรแกรม Python. วิธีการที่ใช้ได้แก่: from_reader, glyph_name, to_bytes. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Python ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Python. คุณสมบัติ: glyph_names, is_fixed_pitch, italic_angle, underline_position, underline_thickness, version.

Properties

NameTypeAccessDescription
versionintอ่าน/เขียนได้รับหรือกําหนดเวอร์ชั่น.
italic_anglefloatอ่าน/เขียนได้หรือกําหนดมุมอักษรคราง.
underline_positionintอ่าน/เขียนได้หรือกําหนดตําแหน่งของเส้นใต้ดิน.
underline_thicknessintอ่าน/เขียนได้หรือกําหนดความหนาของเส้นใต้ดิน.
is_fixed_pitchintอ่าน/เขียนได้หรือกําหนดความสูงที่คงไว้.
glyph_names`list[str]None`อ่าน/เขียน

Methods

SignatureDescription
from_reader(r: BinaryReader, table_length: int)"PostTable"parses a TrueType 'post' table from a binary reader and returns aPostTable` ตัวอย่าง
to_bytes()bytesเรียก to_bytes ในตัวอย่าง PostTable นี้.
glyph_name(gid: int) → `strNone`

See Also

 ภาษาไทย