Skip to main content

Module bytecode

Module bytecode 

Source
Expand description

TrueType hinting bytecode.

ModulesΒ§

decode πŸ”’
TrueType bytecode decoder.
error πŸ”’
What can go wrong while executing TrueType bytecode.
instruction πŸ”’
opcode πŸ”’
TrueType hinting opcodes.
program πŸ”’
The three programs a font can carry.

StructsΒ§

DecodeError
An error returned by Decoder::decode if the end of the bytecode stream is reached unexpectedly.
Decoder
Decodes instructions from TrueType bytecode.
HintError
What went wrong, and where.
InlineOperands
Sequence of instruction operands that are encoded directly in the bytecode.
Instruction
Decoded TrueType instruction.

EnumsΒ§

HintErrorKind
What went wrong, without the context of where.
Opcode
Operation code for a TrueType instruction.
Program
Which of a font’s three programs some bytecode came from.

FunctionsΒ§

decode_all
Returns an iterator that yields all instructions in the given bytecode starting at the specified program counter.