AfmData
Resumo geral
AfmData é uma classe em Aspose.Font FOSS para Python.
AfmData.font_name is the PostScript name of the font extracted from the AFM file.
Propriedades: ascender, cap_height, descender, family_name, font_bbox, font_name, e mais nove.
Propriedades
| Nome: | Tipo de veículo: | Acessos | Descrição: |
|---|---|---|---|
font_name | str | Leitura/Escrita | Obtém ou define o nome da fonte. |
full_name | str | Leitura/Escrita | Obtém ou define o nome completo. |
family_name | str | Leitura/Escrita | Obtém ou define o nome da família. |
weight | str | Leitura/Escrita | Obtém ou define o peso. |
italic_angle | float | Leitura/Escrita | Obtém ou define o ângulo de itálico. |
is_fixed_pitch | bool | Leitura/Escrita | Obtém ou define o tom fixo. |
font_bbox | tuple[int, int, int, int] | Leitura/Escrita | Obtém ou define a fonte bbox. |
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. |
cap_height | float | Leitura/Escrita | Obtém ou fixa a altura do tampão. |
x_height | float | Leitura/Escrita | Obtém ou define a altura x. |
ascender | float | Leitura/Escrita | Obtém ou coloca o ascensor. |
descender | float | Leitura/Escrita | Obtém ou fixa o descensor. |
glyph_metrics | dict[str, AfmGlyphMetric] | Leitura/Escrita | Obtém ou define as métricas do glifo. |
kern_pairs | list[tuple[str, str, int]] | Leitura/Escrita | Obtém ou define os pares de núcleos. |