CffFont

Overview

CffFont is a class in Aspose.Font FOSS for Python. Inherits from: Font.

Properties

NameTypeAccessDescription
font_typeFontTypeRead
font_namestrRead
font_familystrRead
font_stylestrRead
num_glyphsintRead
metricsFontMetricsRead
encoding``Read
glyph_accessorGlyphAccessorRead
top_dictTopDictRead
private_dictPrivateDictRead
charstringsCffIndexRead
global_subrsCffIndexRead
local_subrsCffIndexRead
charsetCffCharsetRead
string_indexCffIndexRead
_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

SignatureDescription
__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