Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Firebug or any tool inspect the element and actually tell which font is being used? (instead of a list)

Tags:

firebug

Usually on Firebug, when inspecting an element, I get a list of fonts, and will actually need to go to the system's Fonts folder and check the names one by one to see if that's the one being used. Is there a way to show the font being used directly using Firebug?

Or if Firebug doesn't have this feature, can any other add-on do that?

like image 770
nonopolarity Avatar asked Jun 04 '09 10:06

nonopolarity


2 Answers

You can edit the list of fonts on the font declaration in firebug.

Starting from the first font, I stick an 'x' in the name. If the font on the page changes, that was the one used.

If it doesn't, I go down the list renaming the fonts until one changes or I get to the default.

There is no way, programmatically, to determine which font is used when a web page is being viewed.

like image 64
Emily Avatar answered Sep 18 '22 14:09

Emily


No, all you get is the list. The list functions as a fallback mechanism. If the first font is unavailable, the second will be used and so forth. I would recommend, if you're just trying to work out which font is being used in a specific scenario, that you use firebug to muck about with the font style, reducing it to the last single font in the list. Then add the additional fonts to the list, one by one and see if the font changes on the page. If it doesn't change, you're missing that font.

like image 43
Nathan Ridley Avatar answered Sep 18 '22 14:09

Nathan Ridley