Module cff2

Source
Expand description

A Compact Font Format 2 Table implementation.

Modulesยง

font_dict_operator ๐Ÿ”’
operator ๐Ÿ”’
private_dict_operator ๐Ÿ”’
top_dict_operator ๐Ÿ”’

Structsยง

CharStringParserContext ๐Ÿ”’
Scalars ๐Ÿ”’
Table
A Compact Font Format 2 Table.
TopDictData ๐Ÿ”’

Constantsยง

MAX_ARGUMENTS_STACK_LEN ๐Ÿ”’
MAX_OPERANDS_LEN ๐Ÿ”’
SCALARS_MAX ๐Ÿ”’
CFF2 allows up to 65535 scalars, but an average font will have 3-5. So 64 is more than enough.
STACK_LIMIT ๐Ÿ”’
TWO_BYTE_OPERATOR_MARK ๐Ÿ”’

Functionsยง

_parse_char_string ๐Ÿ”’
parse_char_string ๐Ÿ”’
parse_font_dict ๐Ÿ”’
parse_private_dict ๐Ÿ”’
parse_top_dict ๐Ÿ”’