|
Posted by Peter Olcott on 06/20/06 21:04
"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html> wrote in
message news:Xns97E88E93B789Ehttpwwwneredbojiasco@208.49.80.251...
> 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.
I need to know whatever the final result is that these browsers use to display
the text on the browser window. It does not matter if it is in point size, or
tmHeight, as long as it is 100% precise.
>
> --
> Neredbojias
> Infinity has its limits.
Navigation:
[Reply to this message]
|