Philip Taylor (Webmaster, Ret'd) wrote:

Ulrike Eikermann wrote:

Here is another Firefox Addon (Font Finder), which lets you click on
elements and tells you the font being rendered. Also it allows you
disable font families, which is useful when testing font stacks.

https://addons.mozilla.org/en-US/firefox/addon/4415/

What happens if font substition happens /within the element/.

Font Finder reports the font as being a declared one (the one that applies according to cascading rules), even it is in fact not used and cannot be used.

By the way, if you install Font Finder without installing Firebug, then Font Finder superficially "works" but always reports the first font as being used, even if a font with that name does not exist in the system att. Apparently it relies on Firebug in finding out the cascade result.

Ulrike : for example, if I write

<span style="font-family: ASCII">abcd天頂の囲碁1234</span>

and the font ASCII has only the 256 glyphs of the standard ASCII
character set, the browser will be forced to use substitution for
the Japanese characters, yet these do not form an element in their
own right.

And even if you wrap them inside an inner <span> element, Font Finder reports ASCII as being in use for the inner element, even though the element contains no character representable in the font.

But if I copy and paste the text in WordPad, it tells me that the font actually used is (in this case) MS PGothic. This is not surprising, as that happens to be the default sans-serif font for Japanese characters in my Firefox.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to