Edit

Share via


Font.Shape Method

Definition

Overloads

Name Description
Shape(Buffer, Feature[])

Shapes the specified buffer using the current font.

Shape(Buffer, IReadOnlyList<Feature>, IReadOnlyList<String>)

Shapes the specified buffer using the current font with explicit shapers.

Shape(Buffer, Feature[])

Shapes the specified buffer using the current font.

public void Shape(HarfBuzzSharp.Buffer buffer, params HarfBuzzSharp.Feature[] features);

Parameters

buffer
Buffer

The buffer to shape.

features
Feature[]

The features to control the shaping process.

Applies to

Shape(Buffer, IReadOnlyList<Feature>, IReadOnlyList<String>)

Shapes the specified buffer using the current font with explicit shapers.

public void Shape(HarfBuzzSharp.Buffer buffer, System.Collections.Generic.IReadOnlyList<HarfBuzzSharp.Feature> features, System.Collections.Generic.IReadOnlyList<string> shapers);

Parameters

buffer
Buffer

The buffer to shape.

features
IReadOnlyList<Feature>

The features to control the shaping process, or null.

shapers
IReadOnlyList<String>

A list of shaper names to try, or null for the default.

Remarks

Shapers determine which text shaping engine is used (e.g., "ot" for OpenType, "fallback" for the fallback shaper).

Applies to