Overview
CffFont 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 | `` | Read | |
glyph_accessor | GlyphAccessor | Read | |
top_dict | TopDict | Read | |
private_dict | PrivateDict | Read | |
charstrings | CffIndex | Read | |
global_subrs | CffIndex | Read | |
local_subrs | CffIndex | Read | |
charset | CffCharset | Read | |
string_index | CffIndex | Read | |
_top_dict | `` | Read | |
_private_dict | `` | Read | |
_charset | `` | Read | |
_encoding | `` | Read | |
_charstrings | `` | Read | |
_global_subrs | `` | Read | |
_local_subrs | `` | Read | |
_string_index | `` | Read | |
_glyph_accessor | `` | Read | |
Methods
| Signature | Description |
|---|
__init__(data: bytes, top_dict: TopDict, private_dict: PrivateDict, charset: CffCharset, encoding: CffEncoding, charstrings: CffIndex, global_subrs: CffIndex, local_subrs: CffIndex, string_index: CffIndex) | |
get_kern_pairs() → list[KernPair] | |
to_bytes(font_type: FontType | None) → bytes | |