Module cff2
ttf_
parser
0.25.1
Module cff2
Module Items
Modules
Structs
Constants
Functions
In ttf_
parser::
tables::
cff
Modules
argstack
cff1
cff2
charset
charstring
dict
encoding
index
std_names
Structs
Builder
StringId
Enums
CFFError
Traits
IsEven
Functions
calc_subroutine_bias
conv_subroutine_index
conv_subroutine_index_impl
f32_abs
ttf_parser
::
tables
::
cff
Module
cff2
Copy item path
Settings
Help
Summary
Source
Expand description
A
Compact Font Format 2 Table
implementation.
Modules
§
font_
dict_
operator
🔒
operator
🔒
private_
dict_
operator
🔒
top_
dict_
operator
🔒
Structs
§
Char
String
Parser
Context
🔒
Scalars
🔒
Table
A
Compact Font Format 2 Table
.
TopDict
Data
🔒
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
🔒