Table of Contents

Interface ITextShaper

Namespace
DocWright.Core.Text
Assembly
DocWright.Core.dll

Converts a run of text into positioned glyphs. The built-in simple shaper handles horizontal non-complex scripts; a HarfBuzz-backed shaper (DocWright.ComplexText) plugs in through this same seam for complex scripts.

public interface ITextShaper

Properties

Name

Gets the stable shaper identifier, for example "simple".

Methods

Shape(in ShapeRequest, ShapedGlyphBuffer)

Shapes the requested run, appending glyphs to the output buffer. The buffer is not cleared first: callers own buffer lifecycle so one pooled buffer can collect multiple runs.