Module beamui.text.shaping

Basic text shaping, for non-complex scripts only.

Read about text shaping here: https://harfbuzz.github.io/what-is-harfbuzz.html#what-is-text-shaping

This module is not intended to handle complex scripts - Indic, Arabic, etc. At this point it is decided to keep the library relatively lightweight and simple, not adding a massive dependency such as HarfBuzz or Pango.

Import line

import beamui.text.shaping;

Functions

NameDescription
shape(str, output, font, transform) Transform the string with a uniform set of properties into a list of glyphs.

Structs

NameDescription
ComputedGlyph