W3C home > Mailing lists > Public > www-math@w3.org > September 2004

Re: How Do I Render Unicode Math Symbols in a Web Browser?

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 9 Sep 2004 17:15:15 +0100
Message-Id: <200409091615.RAA19993@penguin.nag.co.uk>
To: ryman@ca.ibm.com
CC: www-math@w3.org


> My alternative is to use bitmaps but that has several drawbacks.

You could of course use MathML, which doesn't entirely free you from
worrying about installed fonts but does provide a more robust way to
access mathematical typographic requirements. Although simple cases
you may be able to get by with just accessing the foints and using
textual markup using mathml rendering, which is built in to
mozilla/netscape and freely available as a a behaviour extension for IE
(MathPlayer from Design Science). You could then access Z as
<mi>&#x2124;</mi>
or
<mi mathvariant="double-struck">Z</mi>


> Are there any fonts available to render this and other math symbols 
> defined in Unicode? Here's the list of symbols I'm looking for:Many do get 
> rendered in at least Mozilla, but not all. Can I specify some fonts so 
> that all symbols get rendered in both browsers?

the TeX, Wolfram, and Design Science Math fonts are all usable by
mozilla's MathML renderer, see
http://www.mozilla.org/projects/mathml/fonts/
Note that these fonts are not naturally unicode encoded so you have to
use mathml markup to access them and mozilla's mathml engine maintains
tables that map the unicode slots to font positions for these specific
"known" math fonts.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
Received on Thursday, 9 September 2004 16:15:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:40 UTC