TextRunTypographyProperties.StandardLigatures Property
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
true
if standard ligatures are enabled; otherwise, false
. The default is true
.
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.
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :