Skip to main content

Module engine

Module engine 

Source
Expand description

TrueType bytecode interpreter.

Modulesยง

arith ๐Ÿ”’
Arithmetic and math instructions.
control_flow ๐Ÿ”’
Managing the flow of control.
cvt ๐Ÿ”’
Managing the control value table.
data ๐Ÿ”’
Reading and writing data.
definition ๐Ÿ”’
Defining and using functions and instructions.
delta ๐Ÿ”’
Managing delta exceptions.
dispatch ๐Ÿ”’
Instruction decoding and dispatch.
graphics ๐Ÿ”’
Managing the graphics state.
logical ๐Ÿ”’
Logical functions.
misc ๐Ÿ”’
Miscellaneous instructions.
outline ๐Ÿ”’
Managing outlines.
round ๐Ÿ”’
Compensating for the engine characteristics (rounding).
stack ๐Ÿ”’
Managing the stack and pushing data onto the interpreter stack.
storage ๐Ÿ”’
Managing the storage area.

Structsยง

Engine
TrueType bytecode interpreter.
WorkBudget ๐Ÿ”’
Tracks budgets for control flow to limit execution time.

Constantsยง

MAX_RUN_INSTRUCTIONS ๐Ÿ”’
Maximum number of instructions we will execute in Engine::run(). This is used to ensure termination of a hinting program. See https://gitlab.freedesktop.org/freetype/freetype/-/blob/57617782464411201ce7bbc93b086c1b4d7d84a5/include/freetype/config/ftoption.h#L744

Type Aliasesยง

OpResult