The Font to shape with.
The Buffer containing text to shape, suitably prepared.
A string of comma-separated OpenType features to apply.
A lookup ID at which to terminate shaping.
The TracePhase at which to stop shaping.
An array of trace entries, each with a message, serialized glyphs, and phase info.
Shape a buffer with a given font, returning a JSON trace of the shaping process.
This function supports "partial shaping", where the shaping process is terminated after a given lookup ID is reached.