|
Posted by Peter Olcott on 06/20/06 17:26
"Philip" <NikitaTheSpider@gmail.com> wrote in message
news:NikitaTheSpider-DC7BAF.13072620062006@news-rdr-03-ge0-1.southeast.rr.com...
> In article <7NVlg.8640$f76.6537@dukeread06>,
> "Peter Olcott" <olcott@att.net> wrote:
>> I need the exact FontInstance (a term that I coined) for whatever web-page
>> the
>> user is currently viewing on whatever browser that they are using. A
>> FontInstance specifies all of the characteristics of the font rendering.
>> Typeface name, foreground color, background color, italic, bold, underline,
>> strikethrough. The most important thing that I need is typeface name, the
>> next
>> most important thing that I need is point size. I also must have foreground
>> and
>> background color.
>
> Peter,
> As someone else suggested, can you give us a clue as to what context
> your code runs in? If you're writing a browser plugin, then what you're
> asking for is probably possible. If your code doesn't run in the context
> of the browser, you're going to have to code a bunch of fragile hacks
> AFAICT.
>
If it would be easier to do, I could write some code that runs in the context of
the browser and then pass the results to the code that needs it that does not
run within the context of the browser.
> --
> Philip
> http://NikitaTheSpider.com/
> Bulk HTML validation, link checking and more
[Back to original message]
|