Re: Determining the font characteristics of any web page?



Peter Olcott wrote:
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> wrote in message news:a4ea4$4495b36f$40cba7d0$30757@xxxxxxxxxxx
Peter Olcott wrote:
"Jonathan N. Little" <lws4art@xxxxxxxxxxxxx> wrote in message news:95125$4495a6b5$40cba7d0$13343@xxxxxxxxxxx
Peter Olcott wrote:
"Beauregard T. Shagnasty" <a.nony.mous@xxxxxxxxxxxxxxx> wrote in message
It will do whatever the browser does, the browser must ultimately determine a point size, so by whatever means the browser uses, I must also use.
You are missing BTS's point. What the ultimate font size depends on user settings so *my* browser may display the same page differently that BTS's and differently from yours! So when your say "It will do whatever the browser does" who's browser?

All the I need it the point size that the browser the user is using determines. It okay is this is not the same on any other browser as long as it is this same as the specific browser that the user is using.
I have a short and sweet answer for you and you ain't going to like it! You can't.

If it can't be done then browsers couldn't do it, browsers do it therefore it can be done.

AH! But the browser is running on the client's machine and your I am assuming your code will be running on a remote server. You cannot get from the browser what its current settings are except the very limited info allowed with JavaScript, (except maybe with ol' IE via some nasty ActiveX). But it really is not clear what you are trying to do here.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
.



Relevant Pages

  • Re: Determining the font characteristics of any web page?
    ... is defined on the website and what is set in the user settings of the browser and what is the setting of the browser default AND what is available on the user's system. ... I don't care about the paper sized font, ... Open the same page on different browsers on different systems, different OS's, different hardware, different user settings and the text is going vary. ...
    (alt.html)
  • Re: Determining the font characteristics of any web page?
    ... user settings so *my* browser may display the same page differently ... course you are writing an entire browser... ...
    (alt.html)
  • Re: Determining the font characteristics of any web page?
    ... It will do whatever the browser does, the browser must ultimately determine a point size, so by whatever means the browser uses, I must also use. ... What the ultimate font size depends on user settings so *my* browser may display the same page differently that BTS's and differently from yours! ... You cannot get what the user has for the default font size any more than what font he is using for his monospace font, or what he has installed on his system. ... for(var e in n){ ...
    (alt.html)
  • Re: Determining the font characteristics of any web page?
    ... What the ultimate font size depends on user settings so *my* browser may display the same page differently that BTS's and differently from yours! ...
    (alt.html)
  • Re: Determining the font characteristics of any web page?
    ... It will do whatever the browser does, ... This will be a software product running on the client machine. ... limited info allowed with JavaScript, (except maybe with ol' IE via some nasty ...
    (alt.html)