PostTable
Resumo geral
PostTable é uma classe em Aspose.Font FOSS para Python.
PostTable.version holds the version number of the post table.
Esta classe fornece 3 métodos para trabalhar com objetos PostTable em programas Python. Os métodos disponíveis incluem: from_reader, glyph_name, to_bytes. Todos os membros do público são acessíveis a qualquer aplicação Python após instalar o pacote Aspose.Font FOSS for Python. Propriedades: glyph_names, is_fixed_pitch, italic_angle, underline_position, underline_thickness, version.
Propriedades
| Nome: | Tipo de veículo: | Acessos | Descrição: |
|---|---|---|---|
version | int | Leitura/Escrita | Obtém ou define a versão. |
italic_angle | float | Leitura/Escrita | Obtém ou define o ângulo de itálico. |
underline_position | int | Leitura/Escrita | Obtém ou define a posição da linha de subrelo. |
underline_thickness | int | Leitura/Escrita | Obtém ou define a espessura da linha de subrelo. |
is_fixed_pitch | int | Leitura/Escrita | Obtém ou define o tom fixo. |
glyph_names | `list[str] | None` | Leitura/Escrita |
Métodos de avaliação
| Assinatura | Descrição: |
|---|---|
from_reader(r: BinaryReader, table_length: int) → "PostTable" | parses a TrueType 'post' table from a binary reader and returns aPostTable` instância |
to_bytes() → bytes | Chama to_bytes nesta instância PostTable. |
glyph_name(gid: int) → `str | None` |