Closed Bug 782035 Opened 12 years ago Closed 12 years ago

Add @font-face rules to the MathML demo pages, in order to use the fonts from the MathJax CDN

Categories

(Core :: MathML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: fredw, Assigned: fredw)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch Patch (obsolete) — Splinter Review
This will be possible in the upcoming Firefox release, thanks to the fix of bug 736010.

The only thing I'm not sure is the "same domain restriction" issue. I the tested the use of http://cdn.mathjax.org/mathjax/latest/ both locally and on my Website and that seems to work.
Attachment #651117 - Flags: review?(karlt)
Attached patch Patch - V2Splinter Review
Slight change: adding a title to the <link rel="stylesheet" href="mathjax-woff.css"> stylesheet so that it is  used *only* for the default style and not the alternate ones. That way, the pages will have the MathJax woff fallback by default while people who wish to test their font installation can use the alternate stylesheets.
Assignee: nobody → fred.wang
Attachment #651117 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #651117 - Flags: review?(karlt)
Attachment #651195 - Flags: review?(karlt)
Karl, can you please take a look to this so that it is ready when Firefox 15 is released?
http://www.mathjax.org/download/mathjax-cdn-terms-of-service/ says
"You agree to use the MathJax CDN only for purposes permitted by the TOS" ...
and "You agree not to access (or attempt to access) the MathJax CDN by any means other than through the interface that is provided by MathJax Sponsors, unless you have been specifically allowed to do so in a separate agreement."

I'm not clear exactly what that means.

Perhaps "purposes" may be intended to refer to the Intended Relationship which may describe MathJax software as a whole, even though the Apache license for the software permits derivative works and the OFL permits redistribution of the fonts.

It doesn't seem clear from the terms of service what "the interface that is provided by MathJax Sponsors" refers to.  Perhaps it is http://cdn.mathjax.org/mathjax/*/MathJax.js, or perhaps every file on the cdn.mathjax.org site is part of the interface, but then I don't know what kind of access this clause would be intended to prevent.

Unless we can get clearer permission, I think Mozilla should host the fonts.
I forwarded the question to the MathJax team. Personally, I thought it was every files on the cdn.mathjax.org provided they are loaded from a "normal" Web page i.e. not for an automated program that could make the server down.
Attachment #651195 - Flags: review?(karlt)
The MathJax team agreed to allow people to use the MathJax fonts from the cdn (private discussion). But we could also just host the fonts. Anyway, I'm now wondering if this bug is relevant, as it hides to users the lack of font installed in their systems.
Resolving as WONTFIX. We can not add CSS style so easily on MDN. Perhaps this bug could make sense for the torture test:

https://developer.mozilla.org/en-US/docs/Mozilla_MathML_Project/MathML_Torture_Test

but I think it is good if the users really test what they have installed on their system.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: