You are here: Re: Determining the font characteristics of any web page? « HTML « IT news, forums, messages
Re: Determining the font characteristics of any web page?

Posted by Neredbojias on 06/20/06 21:00

To further the education of mankind, "Peter Olcott" <olcott@att.net>
vouchsafed:

>>> I must know the point size. Imagine that I am writing a browser, and
>>> must display any webpage.
>>
>> Display where? If in users' browsers, just keyphrase-identify all
>> the various valid (and some invalid) possible font-designators and
>> copy their attributes verbatim. However, if your process depends
>> upon determining each user's browser default font-size, etc., to
>> accomplish its task, that really isn't possible.
>>
>
> Then browsers couldn't do it, and since they do it, therefore its not
> impossible.

Actually, they don't; they _set_ the font-size for their application,
determining, perhaps, the OS default font size as necessary. If doing this
in points is really accurate (which I doubt), said browser must also find
out the current monitor size and resolution.

--
Neredbojias
Infinity has its limits.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация