Redigera

Dela via


TextRunTypographyProperties.ContextualSwashes Property

Definition

Gets a value that specifies the index of a contextual swashes form.

public:
 abstract property int ContextualSwashes { int get(); };
public abstract int ContextualSwashes { get; }
member this.ContextualSwashes : int
Public MustOverride ReadOnly Property ContextualSwashes As Integer

Property Value

The index of the standard swashes form. The default is 0 (zero).

Remarks

Certain combinations of swash glyphs can cause an unattractive appearance, such as overlapping descenders on adjacent letters. Using a contextual swash allows you to use a substitute swash glyph that produces a better appearance. The following text shows the same word before and after a contextual swash is applied.

Text using OpenType contextual swashes
Example of a contextual swash

Applies to

See also