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

NameTypeAccessDescription
font_typeFontTypeRead
inner_fontTtfFontRead
font_namestrRead
font_familystrRead
font_stylestrRead
num_glyphsintRead
metricsFontMetricsRead
encodingFontEncodingRead
glyph_accessorGlyphAccessorRead
eot_versionintRead
flagsintRead
charsetintRead
italicintRead
weightintRead
fs_typeintRead
_eot_version``Read
_flags``Read
_charset``Read
_italic``Read
_weight``Read
_fs_type``Read

Methods

SignatureDescription
__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)bytesSerialize this font as EOT bytes or delegate cross-format conversion.