Possible Duplicate:
How can I determine what font a browser is actually using to render some text?
When I browse around, I sometimes find a page where the text looks particularly good. I then right-click on it and pick "Inspect Element" (Chrome) or "Inspect Element with Firebug" (Iceweasel/Firefox).
That brings up a panel where I can see the styles in effect for that element and I can also see the computed style. Something like for Stack Overflow itself:
font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif;
My question is: how can I know which of the four font families my browser is using?
If there had only been one font family it would have been easy, but best practice is to include more than one font family and in particular one of generic font families like sans-serif
or serif
. That means that it's not immediately clear what font my browser is using.
Knowing what font my browser is using would allow me to better understand if it's a typical font that I can expect to find on many systems, or if I've been "lucky" because I have, say, Liberation Sans on my system and the hinting on that font is particularly good.