Type1Font
Overview
Type1Font is a class in Aspose.Font FOSS for Python.
Inherits from: Font.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
font_type | FontType | Read | |
font_name | str | Read | |
font_family | str | Read | |
font_style | str | Read | |
num_glyphs | int | Read | |
metrics | FontMetrics | Read | |
encoding | FontEncoding | Read | |
glyph_accessor | GlyphAccessor | Read |
Methods
| Signature | Description |
|---|---|
__init__(raw_data: bytes, font_data: Type1FontData, is_pfa: bool) | |
get_kern_pairs() → list[KernPair] | |
load_afm(path: str) | |
to_bytes(font_type: FontType | None) → bytes |