| Summary: | MathML does not work under gentoo built Mozilla even if fonts *are* installed | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | giggles1 <bevdv> |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | agenkin, azarah, felix, satai |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| URL: | http://golem.ph.utexas.edu/~distler/blog/archives/2003_03.shtml#s000117 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | bungled MathML screen shot | ||
|
Description
giggles1
2003-05-14 16:02:33 UTC
Created attachment 11987 [details]
bungled MathML screen shot
I forgot to mention, yes I have specified the mathfont to Mozilla according to the directions here: http://www.mozilla.org/projects/mathml/fonts/ currently I have: prefs.js:user_pref("font.mathfont-family", "Math1, Math2, Math4"); user.js:user_pref("font.mathfont-family", "Math1, Math2, Math4"); But I have tried (and failed) specifying the LaTeX fonts too. I can confirm this problem. The reason for this is upstream, see these two bugs: bug 176290 - enabling custom font encoding support in Xft-enabled Mozilla (mathml on xft) http://bugzilla.mozilla.org/show_bug.cgi?id=176290 bug 128153 - need to get MathML fonts working with Xft http://bugzilla.mozilla.org/show_bug.cgi?id=128153 There is a working patch attached to 176290 which resolves this problem but some reason didn't make it into Mozilla 1.4 final. It would be nice if the gentoo ebuild could be changed to automatically apply that patch. Failing that (or, hopefully, just in the mean time) if someone who could throw together an ebuild that applies the patch and attach it here, I would love you forever. :) Well I patched Mozilla 1.4 by hand and rebuilt it. I can confirm that the patch linked to above does fix the problem. Mozilla with xft now displays MathML perfectly fine (at least with the Mathematica fonts), in case anyone ever cares to add it to portage. Brad ? This bug has been fixed upstream. (See the aforementioned Mozilla bugs.) A solution would be to simply wait for Mozilla 1.4.1. MathML works decently for the last few revs, at least. |