Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox can't print web-based fonts #172

Closed
dpvc opened this issue Sep 22, 2011 · 8 comments
Closed

Firefox can't print web-based fonts #172

dpvc opened this issue Sep 22, 2011 · 8 comments
Labels
Accepted Issue has been reproduced by MathJax team Browser Bug Fixed Test Not Needed

Comments

@dpvc
Copy link
Member

dpvc commented Sep 22, 2011

This was an issue dating back to Firefox 3.6 at least, and I thought it had been fixed, but it turns out that it was working because of my local copies of the fonts, and the problem is still present. See the bugzilla tracker item for it, which is still active. Note, however, that the bug is two years old, and still hasn't been taken care of, so I'm not holding my breath.

@ghost ghost assigned dpvc Nov 3, 2011
@fred-wang
Copy link
Contributor

Since mid-may, there has been more activity in the bugzilla entry. Apparently this bug is blocking Mozilla's pdf.js add-on which some people find important and so someone started to work on this. I guess this bug will eventually be fixed, but probably not before Firefox 16.

@fred-wang
Copy link
Contributor

New activity again on this bug recently. It should be fixed in Firefox 18.

@fred-wang
Copy link
Contributor

Firefox 18 was released the 8th of January. Closing this issue.

@ghost
Copy link

ghost commented Mar 15, 2013

firefox 18.0.1 linux

@pkra
Copy link
Contributor

pkra commented Mar 18, 2013

@i686 are you saying this is still broken for you?

@ghost
Copy link

ghost commented Mar 21, 2013

@pkra
WARNING: The browser you are using does not seem to support web-based fonts, so we can't test the MathJax web fonts with this browser (image fonts have been used instead). Please try a different browser, or a newer version of your browser in order to test MathJax's web-based fonts.

archlinux firefox 19.0.2

@fred-wang
Copy link
Contributor

@i686 I tried looking into MathJax unpacked/ source where this error comes from, until I realized you were talking about http://cdn.mathjax.org/mathjax/latest/test/index.html. That would help if you could explain more precisely your problem but I don't think it is related to printing pages at all. I'd rather suspect it is an instance of #317 in Archlinux. Could you give the result of "MathJax.Hub.Browser" in Firefox's Web Console?

@dpvc
Copy link
Member Author

dpvc commented Mar 21, 2013

This is the message you get from the test/index.html file when MathJax can't load its web fonts. Due to Firefox's interpretation of the same-origin security restriction for local files, it can't load web fonts from a directory other than the one containing the HTML file you are viewing. Since MathJax is in a higher directory, Firefox can't load them. So this is normal for Firefox when you are using MathJax directly from your hard disk (via file:// URL's) rather than through a web site (via http:// URL's). If you are testing your site locally, you may want to install the STIX fonts (or the MathJax fonts) to avoid this issue. Alternatively, you can run a web server locally and test using that.

Davide

On Mar 21, 2013, at 12:01 AM, i686 wrote:

@pkra
WARNING: The browser you are using does not seem to support web-based fonts, so we can't test the MathJax web fonts with this browser (image fonts have been used instead). Please try a different browser, or a newer version of your browser in order to test MathJax's web-based fonts.

archlinux firefox 19.0.2


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Accepted Issue has been reproduced by MathJax team Browser Bug Fixed Test Not Needed
Projects
None yet
Development

No branches or pull requests

3 participants