Module bytecode

Source
Expand description

TrueType hinting bytecode.

Modulesยง

decode ๐Ÿ”’
TrueType bytecode decoder.
instruction ๐Ÿ”’
opcode ๐Ÿ”’
TrueType hinting opcodes.

Structsยง

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

Enumsยง

Opcode
Operation code for a TrueType instruction.

Functionsยง

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