Back to API Reference
Struct

InjectedGlyph

sealed

A character resolved for drawing outside the document text — an ellipsis dot, a list marker, a wheel symbol — in the face the surrounding text uses: which glyph to draw and how far the pen moves past it, which is all placing one takes.

Remarks

The advance is the only metric a resolve answers in every phase. Ink metrics — bearings, extent — belong to the glyph's atlas entry, which exists only once rasterization has run, while injected characters are measured as early as the shaped phase.
public int FontId{ get }

Font carrying the glyph.

public uint GlyphIndex{ get }

Glyph index inside FontId.

public float Advance{ get }

Horizontal advance in pixels at the requested size, with the font's advance overrides applied.

See Also

TryResolveInjectedGlyph