Dear All,
I've recently been looking at some of the symbols defined by Unicode.
Quite a lot of geometric shapes, arrows and so on are defined and they
make a good alternative to small .gif/.png images e.g. for buttons.
(Have a look at http://www.unicode.org/charts/).
But they will only display correctly if the user has a font that
includes them. And as far as I can tell there is no way that a page
can tell if a symbols has been displayed as intended or not.
This is actually the opposite of the ALT attribute for images: that
defines text to use if an image can't be dispayed, but I'd like to
display an image if a character can't be displayed. Can anyone think
of a way to make this work?
Failing that, does anyone have any experience to suggest a pragmatic
subset of Unicode that can reasonably be expected to be supported by
most browsers?
Regards
--Phil.
I've recently been looking at some of the symbols defined by Unicode.
Quite a lot of geometric shapes, arrows and so on are defined and they
make a good alternative to small .gif/.png images e.g. for buttons.
(Have a look at http://www.unicode.org/charts/).
But they will only display correctly if the user has a font that
includes them. And as far as I can tell there is no way that a page
can tell if a symbols has been displayed as intended or not.
This is actually the opposite of the ALT attribute for images: that
defines text to use if an image can't be dispayed, but I'd like to
display an image if a character can't be displayed. Can anyone think
of a way to make this work?
Failing that, does anyone have any experience to suggest a pragmatic
subset of Unicode that can reasonably be expected to be supported by
most browsers?
Regards
--Phil.
Comment