First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 52014
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Fonts Team <fonts@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthieu Sozeau (RETIRED) <mattam@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mathematica-fonts-4.1.ebuild mathematica-fonts-4.1.ebuild text/plain Matthieu Sozeau (RETIRED) 2004-10-19 01:23 0000 1.28 KB Details
texcm-ttf-1.0.ebuild texcm-ttf-1.0.ebuild text/plain Matthieu Sozeau (RETIRED) 2004-10-19 01:27 0000 602 bytes Details
bakoma bakoma text/plain Matthieu Sozeau (RETIRED) 2004-10-23 08:37 0000 1.85 KB Details
mozilla_pref.patch Patch to the existing ebuild patch Nikolas 'Atrus' Coukouma 2005-05-14 20:47 0000 701 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 52014 depends on: 13808 Show dependency tree
Show dependency graph
Bug 52014 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-25 08:02 0000
I've made two ebuild for fonts needed by Mozilla to display MathML correctly
(according to http://www.mozilla.org/projects/mathml/fonts/). They lack easy
installation in /etc/X11/fs/config and others, but AFAICS there's no general
support for this yet. I'm waiting for your comments & approval to cvs add them.

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2004-05-31 00:20:28 0000 -------
We do not add new font packages until fonts.eclass (bug #13808) is committed.

------- Comment #2 From Mamoru KOMACHI (RETIRED) 2004-10-17 00:48:40 0000 -------
mattam, please rewrite your ebuild with font.eclass.

------- Comment #3 From Matthieu Sozeau (RETIRED) 2004-10-19 01:23:51 0000 -------
Created an attachment (id=42144) [edit]
mathematica-fonts-4.1.ebuild

Here's the ebuild for mathematica fonts, the type1 or truetype versions 
can be installed at users choice. It seems it is now unnecessary to indicate
to users to add the new fonts path to /etc/X11/{anything}, is that right ?

------- Comment #4 From Matthieu Sozeau (RETIRED) 2004-10-19 01:27:24 0000 -------
Created an attachment (id=42146) [edit]
texcm-ttf-1.0.ebuild

Here's the ebuild for tex Computer Modern fonts, a perfect instance of the
eclass :)
Maybe i should rename it to texcm ?

------- Comment #5 From Mamoru KOMACHI (RETIRED) 2004-10-23 02:38:26 0000 -------
I think texcm is better (but that's a matter of choice). 
btw, where can I find licences for these packages?

------- Comment #6 From Matthieu Sozeau (RETIRED) 2004-10-23 08:37:36 0000 -------
Created an attachment (id=42457) [edit]
bakoma

The Bakoma licence for texcm. Mathematica has no downloadable licence, the EULA
has to be accepted online.

------- Comment #7 From Mamoru KOMACHI (RETIRED) 2005-05-03 08:14:38 0000 -------
Sorry for the delay. Added both texcm-ttf and mathematica-fonts
to CVS. Thanks for your submission.

------- Comment #8 From Nikolas 'Atrus' Coukouma 2005-05-14 19:10:19 0000 -------
Is there any reason the ebuild placed in portage is for 4.2? Mozilla needs 4.1.
I've opened bug 92662 about this

------- Comment #9 From Mamoru KOMACHI (RETIRED) 2005-05-14 19:45:34 0000 -------
That's because my browser can render MathML sample page
correctly with 4.2 ebuild. Just asking, are you sure you need
4.1 fonts to make mozilla display MathML page? Can you 
show me a sample page that you actually fail to see correctly
with 4.2? Thanks in advance.

------- Comment #10 From Nikolas 'Atrus' Coukouma 2005-05-14 20:28:15 0000 -------
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

------- Comment #11 From Nikolas 'Atrus' Coukouma 2005-05-14 20:47:26 0000 -------
Created an attachment (id=58931) [edit]
Patch to the existing ebuild

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

Yes, pages render just fine with them.

------- Comment #12 From Nikolas 'Atrus' Coukouma 2005-05-14 21:45:22 0000 -------
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

------- Comment #13 From Nikolas 'Atrus' Coukouma 2005-05-18 13:36:27 0000 -------
I've migrated "tell users to change mozilla pref" to it's own bug, 93100

First Last Prev Next    No search results available      Search page      Enter new bug