W3C home > Mailing lists > Public > www-math@w3.org > July 2003

Re: script font rendering

From: Robert Miner <RobertM@dessci.com>
Date: Thu, 3 Jul 2003 15:50:00 -0500
Message-Id: <200307032050.h63Ko0J10447@wisdom.geomtech.com>
To: stephan.semirat@ac-grenoble.fr
CC: www-math@w3.org, duerst@w3.org


> I would like to know if there is a way to change the font for the
> script element &Ascr; &ascr;, Bscr; ... for instance to use the
> Amaze font instead.  That is <mo>&Ascr;</mo> would be rendered <span
> style="font-family : Amaze;">A</span>.  However i do not want to
> replace the tag <mo> and i would like to do it for a whole document.

I can't think of a way to do this without changing the markup.  If you
encode those script symbols as <mo mathvariant="script>A</mo>, then you
could use CSS, of course.  I guess you could write an XSL stylesheet
to transform <mo>&Ascr;</mo>, but you would need a rule for every
character, so that isn't really a feasible solution.

Under Netscape/Mozilla, it ought to be possible to do this on your
machine by editing the math font properties files in 
<netscape dir>/res/fonts, but I don't understand them well enough to
be certain.  There is presently no way to configure MathPlayer to pick
a particular fonts for certain characters.


Dr. Robert Miner                                RobertM@dessci.com
MathML 2.0 Specification Co-editor                    651-223-2883
Design Science, Inc.   "How Science Communicates"   www.dessci.com
Received on Thursday, 3 July 2003 16:50:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:34 UTC