# OfficeManagedTextShapingProvider

Dependency-light shaping provider for bounded Arabic joining and ligatures, bidirectional text, and font-directed Latin, Hebrew and Arabic mark positioning…

Class 

`OfficeIMO.Drawing`

**Namespace**

`OfficeIMO.Drawing`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeManagedTextShapingProvider.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeManagedTextShapingProvider.cs#L25)

**Implements**

`IOfficeTextShapingProvider` `IOfficeTextShapingProviderMetadata`

**Modifiers**

sealed

Dependency-light shaping provider for bounded Arabic joining and ligatures, bidirectional text, and font-directed Latin, Hebrew and Arabic mark positioning in static TrueType and OpenType/CFF fonts.

## Inheritance

- object
- OfficeManagedTextShapingProvider

## Remarks

The provider deliberately declines scripts and lookup types that require shaping beyond the bounded managed core. Callers then retain their normal scalar fallback and diagnostics. This keeps [IOfficeTextShapingProvider](/api/core/officeimo-drawing-iofficetextshapingprovider/) as the single shaping contract used by Drawing and PDF.

## 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

- Property [OfficeManagedTextShapingProvider.Instance](/api/core/officeimo-drawing-officemanagedtextshapingprovider/#property-instance)

Filter members 

Show inherited

## Methods

`public OfficeTextShapingResult? ShapeText(OfficeTextShapingRequest request)` [#](#method-shapetext-officeimo-drawing-officetextshapingrequest)

[OfficeManagedTextShapingProvider.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeManagedTextShapingProvider.cs#L25)

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.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public static OfficeManagedTextShapingProvider Instance { get; }` [#](#property-instance)

[OfficeManagedTextShapingProvider.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeManagedTextShapingProvider.cs#L15)

Shared stateless provider instance.

`public OfficeTextShapingBackend Backend { get; }` [#](#property-backend)

[OfficeManagedTextShapingProvider.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/OfficeManagedTextShapingProvider.cs#L21)

Gets the shaping engine used by this provider.

<!-- PowerForge markdown artifact sha256:C957471327286E8CDDCAE24D2873B792C0E3BFDD140107287669617933603EB8 -->
