EotFont
Overview
EotFont is a class in Aspose.Font FOSS for Python.
Inherits from: Font.
Embedded OpenType (EOT) wrapper over an inner TrueType/OpenType font.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
font_type | FontType | Read | |
inner_font | TtfFont | 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 | |
eot_version | int | Read | |
flags | int | Read | |
charset | int | Read | |
italic | int | Read | |
weight | int | Read | |
fs_type | int | Read | |
_eot_version | `` | Read | |
_flags | `` | Read | |
_charset | `` | Read | |
_italic | `` | Read | |
_weight | `` | Read | |
_fs_type | `` | Read |
Methods
| Signature | Description |
|---|---|
__init__(inner: TtfFont, eot_version: int, flags: int, charset: int, italic: int, weight: int, fs_type: int) | Create an EOT wrapper around an inner sfnt font. |
get_kern_pairs() → list[KernPair] | |
to_bytes(font_type: FontType | None) → bytes | Serialize this font as EOT bytes or delegate cross-format conversion. |