...

View Full Version : Display font size - detecting



mmasci
11-11-2004, 02:42 AM
Hello all!!

Does anyone know if you can use Javascript to detect the Window's Display Font size?

I need to know if particular users are set to 96dpi or 120 dpi and customise my UI accordingly.

Cheers,

mmasci.

fci
11-11-2004, 02:50 AM
http://www.mozilla.org/docs/dom/domref/dom_window_ref99.html#1020159 ?
http://www.mozilla.org/docs/dom/domref/dom_window_ref96.html#1020077 ?

otherwise I have no idea..

mmasci
11-11-2004, 03:41 AM
Those were useful references... but not what I was after.

I wanted to detect if the Windows display font size was set to 96dpi or 120dpi.

colorDepth and pixelDepth look at the number of colors used on a screen....

Any other ideas.... anyone???

M.

hemebond
11-11-2004, 04:32 AM
Sounds like a design problem, not a Javascript problem.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum