|
Posted by Peter Olcott on 06/20/06 16:51
"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html> wrote in
message news:Xns97E6C12E0D4B2httpwwwneredbojiasco@208.49.80.251...
> To further the education of mankind, "Peter Olcott" <olcott@att.net>
> vouchsafed:
>
>>>> What is a method or set of methods that can determine all of the
>>>> font characteristics of any web page?
>>>
>>> Use CSS. Do you know what this is at this point?
>>>
>> I am not writing webpages I am parsing websites. I have no choice in
>> how any of these websites are written.
>>
>>>> By font characteristics I mean typeface name, point size, foreground
>>>> color, background color, bold, underline, et cetera.
>>>
>>> Forget about 'point size'. Points are for printing. Use percentages
>>> for font sizing (discussed almost daily in these groups). Don't use
>>> pixels, either, for the oft-stated reasons.
>>
>> 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.
> --
> Neredbojias
> Infinity has its limits.
Navigation:
[Reply to this message]
|