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
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method OfficeFontFallbackPack.CreateRenderingProfile
- Method OfficeImageExportBatchBuilder.WithTextShaping
- Method OfficeImageExportBuilder.WithTextShaping
- Constructor OfficeRasterCanvas.OfficeRasterCanvas
- Constructor OfficeRasterCanvas.OfficeRasterCanvas
- Constructor OfficeRenderingProfile.OfficeRenderingProfile
Methods
public abstract OfficeTextShapingResult ShapeText(OfficeTextShapingRequest request) #Returns:
OfficeTextShapingResultShapes 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.