Font.Shape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, 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).