Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeHarfBuzzTextShapingProvider

OfficeIMO.Drawing.HarfBuzz

Namespace
OfficeIMO.Drawing.HarfBuzz
Assembly
OfficeIMO.Drawing.HarfBuzz
Source revision
ba882f6b0d07 with working tree changes
Implements
IOfficeTextShapingProvider IOfficeTextShapingProviderMetadata
Modifiers
sealed

Shapes OfficeIMO text runs with HarfBuzz OpenType GSUB/GPOS processing.

Inheritance

  • object
  • OfficeHarfBuzzTextShapingProvider

Remarks

The provider is an optional adapter over the shared IOfficeTextShapingProvider contract. Core Drawing and PDF packages remain independent of HarfBuzz and its native assets.

Usage

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

Methods

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

Properties

public static OfficeHarfBuzzTextShapingProvider Instance { get; } #

Shared provider instance with a weak cache of parsed font faces.

public OfficeTextShapingBackend Backend { get; } #

Gets the shaping engine used by this provider.