PostTable
개요
PostTable은 Aspose.Font FOSS에서 Python용 클래스입니다.
PostTable.version은 포스트 테이블의 버전 번호를 보유합니다.
이 클래스는 Python 프로그램에서 PostTable 객체를 다루기 위한 3개의 메서드를 제공합니다. 사용 가능한 메서드에는 from_reader, glyph_name, to_bytes가 포함됩니다. 모든 public members는 Aspose.Font FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 프로퍼티: glyph_names, is_fixed_pitch, italic_angle, underline_position, underline_thickness, version.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
version | int | 읽기/쓰기 | 버전을 가져오거나 설정합니다. |
italic_angle | float | 읽기/쓰기 | 이탤릭 각도를 가져오거나 설정합니다. |
underline_position | int | 읽기/쓰기 | 밑줄 위치를 가져오거나 설정합니다. |
underline_thickness | int | 읽기/쓰기 | 밑줄 두께를 가져오거나 설정합니다. |
is_fixed_pitch | int | 읽기/쓰기 | 고정 피치 여부를 가져오거나 설정합니다. |
glyph_names | `list[str] | None` | 읽기/쓰기 |
메서드
| 시그니처 | 설명 |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "PostTable" | parses a TrueType 'post' table from a binary reader and returns aPostTable 인스턴스 |
to_bytes() → bytes | 이 PostTable 인스턴스에서 to_bytes을 호출합니다. |
glyph_name(gid: int) → `str | None` |