OpenType & shaping
Text shaping
The process of converting a run of characters into glyphs with positions and advances.
Example
Characters → glyph IDs + positions
A shaping engine uses the font, direction, script and language to resolve details such as Arabic joining or mark placement.