Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IOfficeTextShapingProvider

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
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

Explore 7 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.

Accepted by parameters 3

Methods

public abstract OfficeTextShapingResult? ShapeText(OfficeTextShapingRequest request) #

Shapes a Unicode run into glyphs in visual write order.

Parameters

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

Returns

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