The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

LanguageFont.ScaleFactor | scaleFactor property

Applies to Windows and Windows Phone

Gets a recommended font size scaling factor for the font.

The factor can be used to adjust relative sizes when two or more fonts are used for different runs within the same text element.


var scaleFactor = languageFont.scaleFactor;

Property value

Type: Number [JavaScript] | System.Double [.NET] | float64 [C++]

The recommended font size scaling factor.


The ScaleFactor property provides a multiplier that can be applied to a nominal font size. Scale factors are intended to be used within a single LanguageFontGroup usage case so that text in different languages and scripts (that is, using different recommended fonts) will appear at complementary sizes. Scale factors within a single LanguageFontGroup usage case may be compared, but it is not appropriate to compare scale factors between different LanguageFontGroup usage cases.

For example, suppose a user interface heading element is nominally set at 36 pt. Suppose further that instances of that element are displayed side-by-side in Korean and English. An application can construct LanguageFontGroup objects for Korean and for English, and then obtain the UIHeadingFont LanguageFont for each language. The LanguageFont for English might have a scale factor of 1.0, while the LanguageFont for Korean might have a scale factor of 0.96. If the English text is set at 36 pt and the Korean text is set at 34.56 pt (= 36 × 0.96), then the two text elements will appear better side-by-side than if both had been displayed at 36 pt.

For most LanguageFontGroup usage cases, the scale factor is chosen to make the size and weight of the different fonts more compatible with one another. For the FixedWidthTextFont usage case, however, the scale factor is chosen to make the widths of characters in different fixed-width fonts more compatible with one another.


Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]


Windows::Globalization::Fonts [C++]



See also




© 2014 Microsoft