const OPCODE_LENGTHS: [i8; 256];
Expand description
Size in bytes of an instruction.
The negative values represent variable length instructions where the next byte in the stream is the count of following operands and the absolute value of the length in this table is the size in bytes of each operand. These are just the NPUSHB and NPUSHW instructions. https://gitlab.freedesktop.org/freetype/freetype/-/blob/57617782464411201ce7bbc93b086c1b4d7d84a5/src/truetype/ttinterp.c#L1137