TextRunTypographyProperties.StandardLigatures Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.
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.