MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathML, Mozilla, fonts and Mathematica 5.2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61043] Re: MathML, Mozilla, fonts and Mathematica 5.2
  • From: "Steven T. Hatton" <hattons at globalsymmetry.com>
  • Date: Sat, 8 Oct 2005 02:49:08 -0400 (EDT)
  • References: <200510060808.EAA08484@smc.vnet.net> <di59p3$3ib$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Igor Antonio wrote:

> Steven T. Hatton wrote:
>> I'm running SuSE 9.3 on a P4. IIRC, the fonts required to support MathML
>> with Mozilla on Linux are not the same are are distributed with the more
>> recent versions of Mathematica.  I don't believe I needed to do this with
>> Mathematica 5.2, but I put the fonts in /usr/X11R6/lib/X11 and ran the
>> font
>> font configuration script on them.  The following demonstrates that X
>> sees these fonts:
>> $ xlsfonts | grep ^\-wri\- | wc -l
>> 709
>> 
>> When I visit sites using MathML I get an error saying I don't have Math1,
>> Math2 and Math4.  I believe all of these are fonts from Wolfram Research.
>> I really, really, really do not want to have two sets of Mathematica
>> fonts
>> installed on the same system that I run Mathematica on.  Is there a way
>> to get Mozilla to see the newer fonts?
>> 
>> This is an example of a site that causes the error message to appear:
>> http://www.w3.org/Math/testsuite/
>> 
>> For some reason it did not appear when viewing the set of tests under
>> General->Math, but it appeared when I looked at the tests under
>> General->GenAttribs.
>> 
>> Many MathML renderings work fine in Mozilla. The biggest problem has to
>> do
>> with Matrices.  The braces are rendered as normal parentheses of one row
>> height.
>> 
> 
> Steven,
> 
> The fonts used since Mathematica 4.2 have changed.  They are named
> Mathematica*
> instead of Math*.  The fonts used MathML pages are from Mathematica 4.1.
> 
> You can download the 4.1 Math* fonts here (in your case, use the last
> link. Others should choose the appropriate link based on your OS)
> 
>
http://support.wolfram.com/mathematica/systems/macintosh/general/latestfonts.html
>
http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
>
http://support.wolfram.com/mathematica/systems/unix/general/latestfonts.html
>
http://support.wolfram.com/mathematica/systems/linux/general/latestfonts.html
> 
> 
> For more details on your issue, visit:
> www.mozilla.org/projects/mathml/fonts

As it turns out, what worked was to get the 4.1 fonts for Windoze, and
install them on my SuSE 9.3 partition.  I believe all I needed were the
TrueType fonts. I'm currently running an XFS enabled build with XFS
running.

http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html

Also, after thinking about what I had done in the past, I realized that
Mozilla doesn't like MathML to be served out in files with .html
extensions. If I put .xml extensions on my own files, they work (assuming
my mimetypes are configured correctly on the server).  As for pages served
out by others, I don't know how to get Mozilla to handle them correctly if
they are .html.
-- 
"Philosophy is written in this grand book, The Universe. ... But the book
cannot be understood unless one first learns to comprehend the language...
in which it is written. It is written in the language of mathematics, ...;
without which wanders about in a dark labyrinth."   The Lion of Gaul


  • Prev by Date: Re: StyleBox["A","MB"],RowBox[{"rrow3D",... inserted into Arrow3D[...]
  • Next by Date: Re: Pure Function for String Selection
  • Previous by thread: Re: MathML, Mozilla, fonts and Mathematica 5.2
  • Next by thread: Re: Re: MathML, Mozilla, fonts and Mathematica 5.2