Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Interface

IOfficeTextShapingProvider

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers abstract

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.

Accepted by parameters

Methods

public abstract OfficeTextShapingResult ShapeText(OfficeTextShapingRequest request) #
Returns: OfficeTextShapingResult

Shapes a Unicode run into glyphs in visual write order.

Parameters

request OfficeIMO.Drawing.OfficeTextShapingRequest requiredposition: 0
Text, font bytes, metrics, and language context for the run.

Returns

A shaped glyph run, or null to use the renderer fallback.