I'd like to write gracefully-degrading code that uses a Webdings glyph. Supposedly Webdings is one of those fonts that is universally available across platforms, but I don't want the browser to display the character in its default font if for some strange reason Webdings isn't there.
Is there any way to do this?
As I said in a comment:
Instead of that, you should use
@font-face
to embed a fallback font. That's much better than hiding the text, and it works in "all browsers".
I prefer to use the Font Squirrel Generator to handle @font-face
. It makes it very, very easy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With