javascript screen fontSmoothingEnabled
| fontSmoothingEnabled | NN n/a IE 4(Win) DOM n/a |
| Read-only | |
|
Returns Boolean true if the user has enabled Smooth Edges for fonts in the Windows Display control panel. The setting may influence the font-related style sheet you link into a document. |
|
| Example | |
var styleFile = "css/corpStyle.css";
if (screen.fontSmoothingEnabled) {
styleFile = "css/corpStyleFancy.css";
}
document.write("<link type='text/css' rel='stylesheet' href='" +
styleFile + "'>");
|
|
| Value | |
Boolean value: true | false. |
|
| Default | |
false |
|
Previous: javascript screen height, width
1693,Nickname,Homepage or email,Comments here,Add comment
