Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-11-2004, 02:42 AM   PM User | #1
mmasci
New Coder

 
Join Date: Jul 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
mmasci is an unknown quantity at this point
Display font size - detecting

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.
mmasci is offline   Reply With Quote
Old 11-11-2004, 02:50 AM   PM User | #2
fci
Senior Coder

 
Join Date: Aug 2004
Location: Twin Cities
Posts: 1,345
Thanks: 0
Thanked 0 Times in 0 Posts
fci is an unknown quantity at this point
http://www.mozilla.org/docs/dom/domr...9.html#1020159 ?
http://www.mozilla.org/docs/dom/domr...6.html#1020077 ?

otherwise I have no idea..
fci is offline   Reply With Quote
Old 11-11-2004, 03:41 AM   PM User | #3
mmasci
New Coder

 
Join Date: Jul 2002
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
mmasci is an unknown quantity at this point
Thanks for the help, but not quite right!

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.
mmasci is offline   Reply With Quote
Old 11-11-2004, 04:32 AM   PM User | #4
hemebond
Senior Coder

 
Join Date: Jul 2004
Location: New Zealand
Posts: 1,315
Thanks: 0
Thanked 2 Times in 2 Posts
hemebond is an unknown quantity at this point
Sounds like a design problem, not a Javascript problem.
hemebond is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:14 PM.


Advertisement
Log in to turn off these ads.