PeachDrawing.Text

PeachDrawing.Text.Shaping.FeatureSetting

FeatureSetting(string, int) Constructor

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

public FeatureSetting(string Tag, int Value);

Parameters

Tag System.String

The four-letter feature tag, such as ss01.

Value System.Int32

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.