I wrote this page when getting Firefox to handle MathML required some extra work. Since version 1.5, Firefox comes with native support for MathML (and SVG), so this page is probably out of date. I.e., probably the easiest way to get Firefox to render MathML is to upgrade to version 1.5 or higher, and this page is obsolete. (See the Mozilla MathML Project Page for more information.)
But in case I'm wrong and it still is necessary to install fonts for MathML, I'll keep this page up until I know for sure.
April 15, 2006
Firefox calls on the X (X Windows) server to display its window. The X server calls on the X Font Server (xfs) to locate available fonts. To be usable, fonts must be installed on the computer and xfs must be configured so that it can find them.
unzip:
$ unzip texcm-ttf.zip $ unzip -d Mathematica-4.1 MathFonts_TrueType.exe(This does work, in spite of the ".exe" extension.)
/usr/share/fonts /usr/X11R6/lib/X11/fonts/Type1 /usr/X11R6/lib/X11/fonts/OTFOtherwise, move them to (somewhere in)
~/.fonts.
# mv texcm-ttf /usr/share/fonts # mv Mathematica-4.1 /usr/share/fonts/
# mkdir /usr/share/fonts/Adobe # cp /usr/local/acrobat-4.05/Resource/Font/Symbol /usr/share/fonts/Adobe
# service xfs restart
You can move the font files to another directory, for example, /usr/local/share/fonts, but you need to edit the xfs configuration file. For example:
# mkdir /usr/local/share/fonts # mkdir /usr/local/share/fonts/TTF # mv texcm-ttf /usr/local/share/fonts/TTF # mv Mathematica-4.1 /usr/local/share/fonts/TTF # mkdir /usr/local/share/fonts/Type1 # mkdir /usr/local/share/fonts/Type1/Adobe # cp /usr/local/acrobat-4.05/Resource/Font/Symbol /usr/local/share/fonts/Type1/Adobe
Then edit /etc/fonts/local.conf and insert the following:
<!-- Fonts installed for MathML in Firefox --> <dir>/usr/local/share/fonts</dir>
Here are some pages you can view to test the rendering of MathML:
The author welcomes comments.
Last content revision: April 15, 2006
Last style revision: April 15, 2006