MathJax stopped using subpixel smoothing
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
- Apollo supporter
- Posts: 34
- Joined: 2020-09-30, 05:24
MathJax stopped using subpixel smoothing
Operating system:
Windows 11 22000.708
Browser version:
31.1.0
32-bit or 64-bit browser?:
64
Problem URL:
https://math.stackexchange.com/question ... racfzfz-dz
MathJax (versions 2.7.5 and 2.2) recently (I think after the upgrade of the browser) stopped using subpixel smoothing in formulas. Instead it uses greyscale smoothing in HTML-CSS and Common HTML renderers. MathML renderer still uses subpixel.
Windows 11 22000.708
Browser version:
31.1.0
32-bit or 64-bit browser?:
64
Problem URL:
https://math.stackexchange.com/question ... racfzfz-dz
MathJax (versions 2.7.5 and 2.2) recently (I think after the upgrade of the browser) stopped using subpixel smoothing in formulas. Instead it uses greyscale smoothing in HTML-CSS and Common HTML renderers. MathML renderer still uses subpixel.
-
- Pale Moon guru
- Posts: 35649
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: MathJax stopped using subpixel smoothing
With a casual check on the URL provided, I can't find anything wrong with the way it's rendered on the same browser version in Windows 10. It looks properly antialiased.
Can you provide more information and some screenshots showing the issues, and how you reproduced them?
Can you provide more information and some screenshots showing the issues, and how you reproduced them?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Apollo supporter
- Posts: 34
- Joined: 2020-09-30, 05:24
Re: MathJax stopped using subpixel smoothing
The workaround for this issue is using Windows 8.1 compatibility layer. Even Win8RTMVersionLie compat layer is enough.
This is correct rendering (https://en.wikipedia.org/wiki/Euler%27s_constant):
This is correct rendering (https://en.wikipedia.org/wiki/Euler%27s_constant):
You do not have the required permissions to view the files attached to this post.
-
- Apollo supporter
- Posts: 34
- Joined: 2020-09-30, 05:24
Re: MathJax stopped using subpixel smoothing
Well, I cannot reproduce this right now, so compat level maybe is not involved.
This happened to me several times after crash of the session. And, as I noticed, environment variables also get reset after the crash.
The rendering style and the variables can be restored by going into system properties, environment variables and clicking OK without changing anything.
I will report further when I get more details.
This happened to me several times after crash of the session. And, as I noticed, environment variables also get reset after the crash.
The rendering style and the variables can be restored by going into system properties, environment variables and clicking OK without changing anything.
I will report further when I get more details.
-
- Pale Moon guru
- Posts: 35649
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: MathJax stopped using subpixel smoothing
Wikipedia uses a png renderer as far as I can tell for the formula you were displaying. I'm not sure in what way mathjax is involved in that, as we don't seem to have any MathML there in the page. Server-side rendering of the PNG is obviously out of our control.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Keeps coming back
- Posts: 786
- Joined: 2020-11-03, 06:47
- Location: Philippines
Re: MathJax stopped using subpixel smoothing
Wikipedia doesn't present it as native MathML by default; you have to put the following CSS code in your vector.css if you have a user account:
I took this CSS from https://en.wikipedia.org/wiki/Help_talk ... oken_again?, which is referred by https://en.wikipedia.org/wiki/Wikipedia ... sentations
Here's what it looks like with the MathML presented:
Compared with Firefox ESR 91 + MathML presentation:
Code: Select all
.mwe-math-fallback-image-inline {
display: none !important;
}
.mwe-math-fallback-image-display {
display: none !important;
}
.mwe-math-mathml-a11y {
position: inherit;
clip:inherit;
width:inherit;
height:inherit;
opacity:inherit
}
Here's what it looks like with the MathML presented:
Compared with Firefox ESR 91 + MathML presentation:
You do not have the required permissions to view the files attached to this post.
merry mimas
XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.
Mima avatar by 絵虎. Pixiv post: https://www.pixiv.net/en/artworks/15431817
-
- Pale Moon guru
- Posts: 35649
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: MathJax stopped using subpixel smoothing
Aside from some minor kerning differences in those two rendered images I don't see a change, let alone a problem?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite