javascript screen fontSmoothingEnabled
@March 15, 2008, 1:22 a.m.
fontSmoothingEnabled | Firefox/Netscape/NN n/a IE 4(Win) Chrome/Safari/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 |
Permanent URL:
http://javascript.gakaa.com/screen-fontsmoothingenabled.aspx
Powered by Linode.