<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>52014</bug_id>
          
          <creation_ts>2004-05-25 08:02 0000</creation_ts>
          <short_desc>Fonts for MathML support</short_desc>
          <delta_ts>2005-08-28 05:34:55 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://dev.gentoo.org/~mattam/overlay/media-fonts/</bug_file_loc>
          
          <keywords>EBUILD</keywords>
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>13808</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mattam@gentoo.org</reporter>
          <assigned_to>fonts@gentoo.org</assigned_to>
          <cc>john-gentoo-bugzilla@mishanski.org</cc>
    
    <cc>matteo-ml@member.fsf.org</cc>
    
    <cc>otto@atrus.org</cc>
    
    <cc>world.root@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>mattam@gentoo.org</who>
            <bug_when>2004-05-25 08:02:46 0000</bug_when>
            <thetext>I&apos;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&apos;s no general support for this yet. I&apos;m waiting for your comments &amp; approval to cvs add them.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-05-31 00:20:28 0000</bug_when>
            <thetext>We do not add new font packages until fonts.eclass (bug #13808) is committed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-10-17 00:48:40 0000</bug_when>
            <thetext>mattam, please rewrite your ebuild with font.eclass.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattam@gentoo.org</who>
            <bug_when>2004-10-19 01:23:51 0000</bug_when>
            <thetext>Created an attachment (id=42144)
mathematica-fonts-4.1.ebuild

Here&apos;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 ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattam@gentoo.org</who>
            <bug_when>2004-10-19 01:27:24 0000</bug_when>
            <thetext>Created an attachment (id=42146)
texcm-ttf-1.0.ebuild

Here&apos;s the ebuild for tex Computer Modern fonts, a perfect instance of the
eclass :)
Maybe i should rename it to texcm ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-10-23 02:38:26 0000</bug_when>
            <thetext>I think texcm is better (but that&apos;s a matter of choice). 
btw, where can I find licences for these packages?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattam@gentoo.org</who>
            <bug_when>2004-10-23 08:37:36 0000</bug_when>
            <thetext>Created an attachment (id=42457)
bakoma

The Bakoma licence for texcm. Mathematica has no downloadable licence, the EULA
has to be accepted online.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-05-03 08:14:38 0000</bug_when>
            <thetext>Sorry for the delay. Added both texcm-ttf and mathematica-fonts
to CVS. Thanks for your submission.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>otto@atrus.org</who>
            <bug_when>2005-05-14 19:10:19 0000</bug_when>
            <thetext>Is there any reason the ebuild placed in portage is for 4.2? Mozilla needs 4.1. I&apos;ve opened bug 92662 about this</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2005-05-14 19:45:34 0000</bug_when>
            <thetext>That&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>otto@atrus.org</who>
            <bug_when>2005-05-14 20:28:15 0000</bug_when>
            <thetext>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&apos;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&apos;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, &quot;CMSY10, CMEX10, Mathematica1, Mathematica2, Mathematica4, MT Extra, Standard Symbols L&quot;)

Alias solution (example):
  &lt;match target=&quot;pattern&quot;&gt;
    &lt;test name=&quot;family&quot;&gt;
      &lt;string&gt;symbol&lt;/string&gt;
    &lt;/test&gt;
    &lt;edit name=&quot;family&quot; mode=&quot;append&quot; binding=&quot;strong&quot;&gt;
      &lt;string&gt;Standard Symbols L&lt;/string&gt;
    &lt;/edit&gt;
  &lt;/match&gt;

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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>otto@atrus.org</who>
            <bug_when>2005-05-14 20:47:26 0000</bug_when>
            <thetext>Created an attachment (id=58931)
Patch to the existing ebuild

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

Yes, pages render just fine with them.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>otto@atrus.org</who>
            <bug_when>2005-05-14 21:45:22 0000</bug_when>
            <thetext>Obviously, Mozilla should be equally happy with either. I&apos;ve filed a bug on their end about it. Until then, it&apos;s up to the user to handle it.

https://bugzilla.mozilla.org/show_bug.cgi?id=294224</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>otto@atrus.org</who>
            <bug_when>2005-05-18 13:36:27 0000</bug_when>
            <thetext>I&apos;ve migrated &quot;tell users to change mozilla pref&quot; to it&apos;s own bug, 93100</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42144</attachid>
            <date>2004-10-19 01:23 0000</date>
            <desc>mathematica-fonts-4.1.ebuild</desc>
            <filename>mathematica-fonts-4.1.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKaW5oZXJpdCBmb250CgpERVNDUklQVElPTj0iRm9udHMgZnJvbSBNYXRo
ZW1hdGljYSIKCkhPTUVQQUdFPSJodHRwOi8vc3VwcG9ydC53b2xmcmFtLmNvbS9tYXRoZW1hdGlj
YS9zeXN0ZW1zL3dpbmRvd3MvZ2VuZXJhbC9sYXRlc3Rmb250cy5odG1sIgpET1dOTE9BRF9VUkk9
Imh0dHA6Ly9zdXBwb3J0LndvbGZyYW0uY29tL21hdGhlbWF0aWNhL3N5c3RlbXMvd2luZG93cy9n
ZW5lcmFsLyIKVFJVRVRZUEVfRklMRT0iTWF0aEZvbnRzX1RydWVUeXBlLmV4ZSIKVFlQRTFfRklM
RT0iTWF0aEZvbnRzX1R5cGUxLmV4ZSIKClNSQ19VUkk9InRydWV0eXBlPyAoICRUUlVFVFlQRV9G
SUxFICkKIXRydWV0eXBlPyAoICRUWVBFMV9GS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mFyaWFibGVzIGFuZCByZXN0YXJ0IFggZm9udCBzZXJ2ZXIiCiN9Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42146</attachid>
            <date>2004-10-19 01:27 0000</date>
            <desc>texcm-ttf-1.0.ebuild</desc>
            <filename>texcm-ttf-1.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA0IEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKaW5oZXJpdCBmb250CgpERVNDUklQVElPTj0iRm9udHMgZnJvbSBNYXRo
ZW1hdGljYSIKCkhPTUVQQUdFPSJodHRwOi8vd3d3Lm1vemlsbGEub3JnL3Byb2plY3RzL21hdGht
bC9mb250cy8iClNSQ19VUkk9Imh0dHA6Ly93d3cubW96aWxsYS5vcmcvcHJvamVjdHMvbWF0aG1s
L2ZvbnRzL2Jha29tYS8ke1BOfS56aXAiCkxJQ0VOU0U9ImJha29tYSIKU0xPVD0iMCIKS0VZV09S
RFM9In54ODYgfnBwYyIKSVVTRT0iIgpERVBFTkQ9IiIKUkRFUEVORD0iIgpTPSR7V09SS0RJUn0v
JHtQTn0KCkZPTlRfU1VGRklYPSJ0dGYiCgojcGtnX3Bvc3RpbnN0KCkgewojCWVpbmZvICJUbyB1
c2UgdGhpcyBmb250cywgYWRkIC91c3Ivc2hhcmUvZm9udHMvdHRmL3RleGNtIHRvIC9ldGMvWDEx
L1hmdENvbmZpZyIKIwllaW5mbyAiYW5kIC9ldGMvWDExL2ZzL2NvbmZpZyBwYXRoIHZhcmlhYmxl
cyBhbmQgcmVzdGFydCBYIGZvbnQgc2VydmVyIgojfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>42457</attachid>
            <date>2004-10-23 08:37 0000</date>
            <desc>bakoma</desc>
            <filename>bakoma</filename>
            <type>text/plain</type>
            <data encoding="base64">KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqDQoqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCiogICAgICAgICAg
ICAgICAgICAgICAgICBCYUtvTWEgRm9udHMgQ29sbGVjdGlvbiAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgKg0KKiAgICAgICAgICAgICAgICAgICAgICAgID09PT09PT0gTGV2ZWwgQiA9PT09
PT09ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqDQoqICAgICAgICAgICAgICAgICAgICAg
ICAgIFZlcnNpb24gMS4xLzEyLU5vdi05NCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoN
CiogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgKg0KKiAgICAgICAgICBDb3B5cmlnaHQgKEMpIDE5OTQsIEJh
c2lsIEsuIE1hbHlzaGV2LiBBbGwgUmlnaHRzIFJlc2VydmVkLiAgICAgICAqDQoqICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICoNCioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQoqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioNCiogICAgICAgICAgICAgICAgICAgICAgICAgICBMaWNlbnNpbmcgYWdyZWVtZW50ICAgICAg
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4NCg0KVGhpcyByZXN0cmljdGlvbiBpcyBub3QgaW50ZW5kZWQgdG8gYXBwbHkgdG8g
Y29ubmVjdCB0aW1lIGNoYXJnZXMsDQpvciBmbGF0IHJhdGUgY29ubmVjdGlvbi9kb3dubG9hZCBm
ZWVzIGZvciBlbGVjdHJvbmljIGJ1bGxldGluIGJvYXJkIHNlcnZpY2VzLg0KDQoqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioNCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>58931</attachid>
            <date>2005-05-14 20:47 0000</date>
            <desc>Patch to the existing ebuild</desc>
            <filename>mozilla_pref.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9tZWRpYS1mb250cy9tYXRoZW1hdGljYS1mb250cy9tYXRoZW1hdGlj
YS1mb250cy00LjIuZWJ1aWxkCTIwMDUtMDUtMDMgMTY6MzU6NDEuMDAwMDAwMDAwIC0wNDAwCisr
KyAuL21hdGhlbWF0aWNhLWZvbnRzLTQuMi5lYnVpbGQJMjAwNS0wNS0xNCAyMzo0NToyOS4wMDAw
MDAwMDAgLTA0MDAKQEAgLTUwLDMgKzUwLDEzIEBACiAKIAlmb250X3NyY19pbnN0YWxsCiB9CisK
K3BrZ19wb3N0aW5zdCgpIHsKKwllaW5mbyAiVG8gbWFrZSBNb3ppbGxhIGhhcHB5LCB5b3Ugc2hv
dWxkIGNoYW5nZSBmb250Lm1hdGhmb250LWZhbWlseToiCisJZWluZm8gIjEuIEVudGVyIHRoZSBV
UkwgYWJvdXQ6Y29uZmlnIgorCWVpbmZvICIyLiBGaXJzdCwgY2hlY2sgdG8gc2VlIGlmIHRoZSBw
cmVmIGV4aXN0cyIKKwllaW5mbyAiICAgSWYgbm90LCByaWdodC1jbGljayBhbmQgc2VsZWN0IE5l
dyA+IFN0cmluZyIKKwllaW5mbyAiICAgVGhlIG5hbWUgb2YgdGhlIHByZWZlcmVuY2UgaXMgZm9u
dC5tYXRoZm9udC1mYW1pbHkiCisJZWluZm8gIjMuIFlvdSBzaG91bGQgc2V0IHRoZSB2YWx1ZSB0
byAocmlnaHQtY2xpY2sgdG8gbW9kaWZ5KToiCisJZWluZm8gIiAgIENNU1kxMCwgQ01FWDEwLCBN
YXRoZW1hdGljYTEsIE1hdGhlbWF0aWNhMiwgTWF0aGVtYXRpY2E0LCBNVCBFeHRyYSwgU3RhbmRh
cmQgU3ltYm9scyBMIgorfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>