API Reference
Interface
IOfficeTextShapingProvider
Provides externally shaped glyph runs to OfficeIMO renderers without requiring a shaping-engine dependency.
Remarks
A host can adapt HarfBuzz, DirectWrite, Core Text, or another shaping engine once and reuse it across PDF and other OfficeIMO renderers. Returning null declines a run and lets the consuming renderer use its dependency-free fallback.
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Accepted by parameters 5
Methods
public abstract OfficeTextShapingResult? ShapeText(OfficeTextShapingRequest request) #Returns:
OfficeTextShapingResult?Shapes a Unicode run into glyphs in visual write order.
Parameters
- request OfficeIMO.Drawing.OfficeTextShapingRequest
- Text, font bytes, metrics, and language context for the run.
Returns
A shaped glyph run, or null to use the renderer fallback.