Re: script font rendering

Hi.

> I would like to know if there is a way to change the font for the
> script element 𝒜 𝒶, 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.

--Robert

------------------------------------------------------------------
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