Page MenuHomePhabricator

Font is changed to Serif in articles using MathJax viewed via Tor Browser
Closed, ResolvedPublic

Description

When viewing the article Random walk on English Wikipedia via the newest version of the Tor Browser Bundle (4.0) after MathJax begins to load the font on the entire page changes to a Serif font (Times New Roman for me).

Not sure if this is a MathJax problem or a TBB problem so I thought I'd report it here first. The issue does not appear to happen in the newest version of Firefox though.


Version: unspecified
Severity: minor
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=73118

Details

Reference
bz72452

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:46 AM
bzimport set Reference to bz72452.
bzimport added a subscriber: Unknown Object (MLST).

What does MathJax's About pop-up (right/cmd-click equations to open the MathJax menu => click on About) say on the top about fonts? Does the Tor browser ship with the STIX fonts by any chance?

Output of the About pop-up:

MathJax v2.3
using web TeX fonts

MathJax.js v2.3
MathML Input Jax v2.3
TeX Input Jax v2.3
HTML-CSS Output Jax v2.3
NativeMML Output Jax v2.3
SVG Output Jax v2.3
mml Element Jax v2.3
MathEvents Extension v2.3
MathMenu Extension v2.3
MathZoom Extension v2.3
TeX/AMSmath Extension v2.3
TeX/AMSsymbols Extension v2.3
TeX/boldsymbol Extension v2.3
TeX/cancel Extension v2.3
TeX/color Extension v2.3
TeX/noUndefined Extension v2.3
mml2jax Extension v2.3
wiki2jax Extension v1.0

Firefox v31.0 — woff or otf fonts

I can check with the folks on the Tor mailing list as to whether or not Tor Browser Bundle ships with STIX fonts and get back with that information. I don't know myself.

Thanks for following up on this.

No need to ask if STIX fonts are shipped since the About says MathJax is using its TeX fonts. So something is going wrong somewhere.

I'll try to get my hands on the Tor browser to reproduce.

Hm. I actually get [Math Processing Errors] from MathJax. But not just on Tor Browser but everywhere.

Last time I saw this problem, it was due to some beta features but now I reset my preferences completely to be sure.

@Physikerwelt could this have to do with the the recent "MathJax everywhere" problem? When MathJax is on, I see https://en.wikipedia.org/w/index.php?title=User:Nageh/mathJax.js&action=raw&ctype=text/javascript being downloaded which seems odd to me.

It might be worth noting that I do not have any Beta features enabled while using Tor Browser Bundle on English Wikipedia. Since English Wikipedia doesn't allow Tor users to edit pages, I never see any good reason to bother to login and therefore none of my preferences take effect.

So this issue is affecting any non-logged in users using the latest version of the Tor Browser Bundle.

Created attachment 16884
Screenshot of issue. Tried to catch it as early as I could, but was a bit late.

Attached:

Untitled.png (724×1 px, 159 KB)

Ah! I think this is a caching issue. MathJax was accidentally&temporarily the default because two keys were merged as part the Math extension 2.0 release -- see https://twitter.com/physikerwelt/status/525387066394157056

physik wrote:

Is there still a problem?

The problem appears to be solved. Though it is cropping up on a different page now. I'll submit another bug report though as I suspect it is unrelated.

Physikerwelt claimed this task.

"The problem appears to be solved." and no further comments for more than a month.