Woff2Font
Overview
Woff2Font 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 | |
metadata_xml | str | Read | |
inner_font | TtfFont | Read | |
_metadata_xml | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(inner: TtfFont, metadata_xml: str) | |
get_kern_pairs() → list[KernPair] | |
to_bytes(font_type: FontType | None) → bytes |