Provides data related to a particular font recommendation for a given language.
The LanguageFont class has these types of members:
The LanguageFont class inherits methods from the Object class (C#/VB/C++).
The LanguageFont class has these properties.
|Read-only||Gets the family name of the font.|
|Read-only||Gets the FontStretch property of the font.|
|Read-only||Gets the FontStyle property of the font.|
|Read-only||Gets the weight of the font (FontWeight).|
|Read-only||Gets a recommended font size scaling factor for the font.|
A LanguageFont object provides data giving a font recommendation for a particular language and for particular usage cases. LanguageFont objects are obtained from a LanguageFontGroup object, which is constructed for a particular language or script. Each LanguageFontGroup object provides different LanguageFont objects for different usage cases.
Depending on the usage case, font weight/style/stretch attributes provided in the LanguageFont may or may not be significant: for some usage cases, a "regular" font (regular weight, normal style, normal stretch) may always be returned. Applications may want to apply other weight/style/stretch formatting in those cases. See the remarks on the different usage cases for LanguageFontGroup.
The fonts referenced by a LanguageFont are always fonts that ship as part of Windows. There is no way for an end user or developer to customize these values. It is safe to assume that the font will be present on every Windows 8 system.
Minimum supported client
|Windows 8 [Windows Store apps, desktop apps]|
Minimum supported server
|Windows Server 2012 [Windows Store apps, desktop apps]|
Minimum supported phone
|Windows Phone 8.1 [Windows Runtime apps only]|