BLGlyphRun Struct Reference [¶]
BLGlyphRun describes a set of consecutive glyphs and their placements.
BLGlyphRun should only be used to pass glyph IDs and their placements to the rendering context. The purpose of BLGlyphRun is to allow rendering glyphs, which could be shaped by various shaping engines (Blend2D, Harfbuzz, etc).
BLGlyphRun allows to render glyphs that are stored as uint32_t[] array or part of a bigger structure (for example hb_glyph_info_t
used by HarfBuzz). Glyph placements at the moment use Blend2D's BLGlyphPlacement or BLPoint, but it's possible to extend the data type in the future.
See BLGlyphRunPlacement
for placement modes provided by Blend2D.