Docsv2.12.12
Back to API Reference
Struct

VirtualGlyph

sealed

A pre-shaped glyph a modifier hands to the rasterizer when its glyph id comes from OpenType shaping (GSUB) rather than a 1:1 codepoint lookup — e.g. shaped ruby, where Arabic joining forms and ligatures differ from the cmap glyph. Registered for atlas rasterization alongside virtual codepoints.

public int fontId

Font the glyph id belongs to.

public uint glyphId

Shaped glyph id to rasterize.