Re: Symbol font in SVG

Chris Lilley <[email protected]>
Newsgroups gmane.comp.mozilla.devel.svg
Organization W3C
Message-ID <[email protected]>
On Thursday, October 23, 2008, 2:38:27 PM, H wrote:

HJCBrn> Alarm! I have often used the font-family:Symbol in SVG, which Firefox
HJCBrn> used to interpret as equivalent to the standard postscript Symbol font
HJCBrn> (greek and mathematical characters).

That was a reasonable work around circa 1998. Nowadays, just use Unicode. In particular, misusing 'Symbol' to get Greek is especially bad and ensures that no search engine will find such 'Greek-like' text.

HJCBrn>  Now suddenly, with  Firefox
HJCBrn> 3.0.3, the Symbol font-family displays exactly like the Times font, as
HJCBrn> if the Symbol font is no longer supported. 

Its supported; just use the correct characters instead of misusing the ASCII characters. You can still use that font if you wish. (Or any other font that has glyphs for those characters).

HTML4 gave a mapping for the Unicode values of the 'symbol' font. You can use those characters, and will get consistent rendering across SVG implementations.

http://www.w3.org/TR/html4/sgml/entities.html#h-24.3


-- 
 Chris Lilley                    mailto:[email protected]
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.