Bearbeiten

Freigeben über


TextRunTypographyProperties.StandardLigatures Property

Definition

Gets a value that indicates whether standard ligatures are enabled.

public:
 abstract property bool StandardLigatures { bool get(); };
public abstract bool StandardLigatures { get; }
member this.StandardLigatures : bool
Public MustOverride ReadOnly Property StandardLigatures As Boolean

Property Value

true if standard ligatures are enabled; otherwise, false. The default is true.

Remarks

The following text displays standard ligature glyphs for the Pericles font.

Text using OpenType standard ligatures
Example of a standard set of ligatures

By default, OpenType fonts in WPF enable standard ligatures. For example, if you use the Palatino Linotype font, the standard ligatures "fi", "ff", and "fl" appear as a combined character glyph. Notice that the characters of each standard ligature touch each other.

Text using OpenType standard ligatures
Example of standard ligatures enabled by default

However, you can disable standard ligature features so that a standard ligature such as "ff" displays as two separate glyphs, rather than as a combined character glyph.

Text using disabled OpenType standard ligatures
Example of disabled standard ligatures

If the value of StandardLigatures is true and the selected font does not support standard ligatures, the default form of the letter is displayed.

Applies to

See also