PeachDrawing.Text

PeachDrawing.Text.Shaping

FeatureSetting Struct

One OpenType feature a caller asks for by its tag, in the way CSS font-feature-settings does.

public readonly record struct FeatureSetting : System.IEquatable<PeachDrawing.Text.Shaping.FeatureSetting>

Implements System.IEquatable<FeatureSetting>

Constructors  
FeatureSetting(string, int) One OpenType feature a caller asks for by its tag, in the way CSS font-feature-settings does.
Properties  
Tag The four-letter feature tag, such as ss01.
Value 0 leaves the feature unrequested, 1 asks for it, and a larger number selects that alternate of a feature that has several. It cannot switch off a feature that shaping applies on its own, such as ccmp and locl.