Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93100 - Instruct user to change Mozilla pref when installing Mathematica 4.2 fonts
Summary: Instruct user to change Mozilla pref when installing Mathematica 4.2 fonts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 92662
  Show dependency tree
 
Reported: 2005-05-18 13:29 UTC by Nikolas 'Atrus' Coukouma
Modified: 2005-05-21 14:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to mathematica-fonts-4.2.ebuild (mozilla_pref.patch,701 bytes, patch)
2005-05-18 13:31 UTC, Nikolas 'Atrus' Coukouma
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas 'Atrus' Coukouma 2005-05-18 13:29:41 UTC
After emerging mathematica-fonts-4.2, I get this message while viewing many pages:
To properly display the MathML on this page you need to install the following fonts:
Math1, Math2, Math4.

Here's one from the W3C test suite
http://www.w3.org/Math/testsuite/testsuite/TortureTests/Complexity/complex2.xml

It seems that the major difference is in names. For example, Mathematica1.ttf
(4.2) probably corresponds to math1___.ttf (4.1)

If you read the comments to mozilla bug 128153, you'll see that the fonts used
are configurable via the pref font.mathfont-family . We could add a note to the
ebuild to change the pref or add aliases.
Pref solution (includes change to use Standard Symbols L per mozilla bug 236880):

pref(font.mathfont-family, "CMSY10, CMEX10, Mathematica1, Mathematica2,
Mathematica4, MT Extra, Standard Symbols L")

Alias solution (example):
  <match target="pattern">
    <test name="family">
      <string>symbol</string>
    </test>
    <edit name="family" mode="append" binding="strong">
      <string>Standard Symbols L</string>
    </edit>
  </match>

See also:
/usr/lib/MozillaFirefox/res/fonts/mathfont.properties
https://bugzilla.mozilla.org/show_bug.cgi?id=128153
https://bugzilla.mozilla.org/show_bug.cgi?id=236880

Obviously, Mozilla should be equally happy with either. I've filed a bug on
their end about it. Until then, it's up to the user to handle it.

https://bugzilla.mozilla.org/show_bug.cgi?id=294224

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nikolas 'Atrus' Coukouma 2005-05-18 13:31:54 UTC
Created attachment 59239 [details, diff]
Patch to mathematica-fonts-4.2.ebuild

Tells the user how to make Mozilla & Co. happy with the 4.2 package.

Yes, pages render just fine with them.
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-21 14:10:31 UTC
Thanks. Applied the patch in CVS.