You are here: Reference > JavaScript > client-side > browser > properties > fontSmoothingEnabled (screen)

fontSmoothingEnabled property (screen)

Browser support:
Returns a Boolean value that indicates whether font smoothing is enabled.
There is no standard solution to enable or disable font smoothing from JavaScript.


You can find the related objects in the Supported by objects section below.
This property is read-only.

Possible values:

Boolean that indicates the state of the font smoothing.
One of the following values:
Font smoothing is disabled.
Font smoothing is enabled.
Default: false.

Example HTML code 1:

This example illustrates the use of the fontSmoothingEnabled property:
    <script type="text/javascript">
        function GetFontSmooth () {
            alert ("fontSmoothingEnabled: " + screen.fontSmoothingEnabled);
    <button onclick="GetFontSmooth ();">Get the state of font smoothing!</button>
Did you find this example helpful? yes no

Supported by objects:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content