MathML support in Mozilla/Firefox
D. D. Brierton
darren at dzr-web.com
Sun Sep 26 14:51:28 UTC 2004
On Sun, 2004-09-26 at 12:14, D. D. Brierton wrote:
> I was testing out Mozilla's support for MathML (with the mathml-fonts
> package installed), and equations are not being rendered as they are
> supposed to (Greek letters used where Roman ones should be).
Okay, so it seems the problem is at my end. I have my Windows fonts
installed in /usr/local/share/fonts and this is referenced in
/etc/fonts/local.conf like so:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file for local customizations -->
<fontconfig>
<dir>/usr/local/share/fonts</dir>
</fontconfig>
Well, I decided to try commenting out that dir element and restarting X.
Now when I go to
http://www.mozilla.org/projects/mathml/start.xhtml
the page is displayed correctly but Mozilla/Firefox pops up a warning
dialog saying the following:
To properly display the MathML on this page you need to install
the following fonts:
Symbol.
For further information see:
http://www.mozilla.org/projects/mathml/fonts
Huh? (a) the page is displayed correctly, and (b) I am certain that the
Symbol font is included in FC2:
$ xlsfonts | grep symbol
-adobe-symbol-medium-r-normal--10-100-75-75-p-61-adobe-fontspecific
-adobe-symbol-medium-r-normal--11-80-100-100-p-61-adobe-fontspecific
-adobe-symbol-medium-r-normal--12-120-75-75-p-74-adobe-fontspecific
-adobe-symbol-medium-r-normal--14-100-100-100-p-85-adobe-fontspecific
-adobe-symbol-medium-r-normal--14-140-75-75-p-85-adobe-fontspecific
-adobe-symbol-medium-r-normal--17-120-100-100-p-95-adobe-fontspecific
-adobe-symbol-medium-r-normal--18-180-75-75-p-107-adobe-fontspecific
-adobe-symbol-medium-r-normal--20-140-100-100-p-107-adobe-fontspecific
-adobe-symbol-medium-r-normal--24-240-75-75-p-142-adobe-fontspecific
-adobe-symbol-medium-r-normal--25-180-100-100-p-142-adobe-fontspecific
-adobe-symbol-medium-r-normal--34-240-100-100-p-191-adobe-fontspecific
-adobe-symbol-medium-r-normal--8-80-75-75-p-51-adobe-fontspecific
-urw-standard symbols l-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
-urw-standard symbols l-medium-r-normal--0-0-0-0-p-0-iso10646-1
Admittedly, the above Adobe fonts are Type 1 fonts, but Xft understands
both Type 1 and True Type fonts, doesn't it?
Anyway, I guess I can re-enable my Windows fonts if I remove the Windows
Symbol font, which was probably the one causing the problems, but I am
rather puzzled by Mozilla telling me that I don't have a Symbol font
installed in that case. Do others get the same warning?
TIA, Darren
--
=====================================================================
D. D. Brierton darren at dzr-web.com www.dzr-web.com
Trying is the first step towards failure (Homer Simpson)
=====================================================================
More information about the users
mailing list