Back to API Reference
Struct
FontFeature
sealed
Implements:IEquatable<FontFeature>
One OpenType feature setting: a four-character feature tag and the value shaping applies it with.
Remarks
A font that does not carry the tag ignores it. Value 0 disables a feature the shaper would otherwise apply by default, such as kern or liga.
public static bool TryParse(ReadOnlySpan<char> token, out FontFeature feature)Parses one setting written as tag, tag value, -tag or +tag, where the tag may be quoted and the value may follow a space, colon or equals sign. A bare tag reads as 1, a minus-prefixed tag as 0.
public bool Equals(FontFeature other)