[SGVLUG] Anyone know of a font snooper?

Emerson, Tom Tom.Emerson at wbconsultant.com
Fri Jan 13 09:01:13 PST 2006


> -----Original Message-----
> Behalf Of Dustin
> 
> So now that I've recovered the baby website from hardware 
> failure ... I messed with improving the fonts on my laptop
> last night.
> 
> Dear god, it's fonts on X-Windows.  Oh, the *humanity*.
[...]
> A very common problem is that some web page requests an ugly 
> font ...
> it would help immensely to know which font is being used.  [...]
> I'd love to be able to force Firefox to tell me exactly what font was requested for
> the current page [and show] what font was in fact chosen.

This may lead to next month's "cool tool": Greasemonkey

Here is an example that may get you /really close/ to exactly what you are looking for:

http://diveintogreasemonkey.org/patterns/getcomputedstyle.html

(it returns the "color" attribute of a paragraph's style -- I'm fairly sure you could get the "font" attribute just as easily...)



More information about the SGVLUG mailing list