1
$\begingroup$

I have no subpixel smoothing in MathJax, in FireFox 28, 29 and IE 11 under Windows 7. Prevuously all was OK. I suspect this happened due to a Windows update. In other texts in FireFox and systemwide the smoothing is OK. What should I do to fix MathJax appearance?

This does not depend on browser: the same happens in IE and Chrome.

$\endgroup$
  • $\begingroup$ Do you have an image that illustrates what is happening? $\endgroup$ – robjohn Apr 4 '14 at 12:59
  • $\begingroup$ @robjohn I think itb is quite clearv what I said: no subpixel hinting in MathJax, which was there before. $\endgroup$ – Anixx Apr 4 '14 at 13:05
  • $\begingroup$ I didn't say that your statement was unclear; I asked if you had an image. It would be helpful for those of us that cannot reproduce the problem. $\endgroup$ – robjohn Apr 4 '14 at 13:11
  • $\begingroup$ @robjohn html-css renderer: storage9.static.itmages.ru/i/14/0404/… mathml renderer: storage5.static.itmages.ru/i/14/0404/… If to disable font downloading in Firefox, then the subpixel rendering appears in MathML, but with barely suitable font, and html-css fallbacks to SVG after a long pause. $\endgroup$ – Anixx Apr 4 '14 at 13:14
  • $\begingroup$ @robjohn if to disable downloadable fonts, then subpixel in mathml works, but the font used is far from perfect: storage9.static.itmages.ru/i/14/0404/…, html-css just does not work. $\endgroup$ – Anixx Apr 4 '14 at 13:22
  • $\begingroup$ There does seem to be subpixel smoothing applied, however, the font substitution is bad (e.g. choosing a bitmap font) or possibly the font hinting is not operating properly. This does sound like an OS issue. $\endgroup$ – robjohn Apr 4 '14 at 13:34
  • $\begingroup$ @robjohn subpixel smoothing is applied only outside of MathJax. $\endgroup$ – Anixx Apr 4 '14 at 13:35
  • $\begingroup$ Yes. Subpixel smoothing is applied by the OS when it renders the fonts. The problem could be in the fonts requested by MathJax (which would affect a large number of users) or in how the OS fills font requests (font substitution) or in how the font renderer handles the hints (for an outline font). This is why I said this looks like an OS problem. In your question, you mention a Windows update. Was anything else about the fonts in your system altered? $\endgroup$ – robjohn Apr 4 '14 at 14:42
  • $\begingroup$ @last days I was trying to install a scanner, I did not change anything else. $\endgroup$ – Anixx Apr 4 '14 at 14:50
  • $\begingroup$ @robjohn I downloaded the MathJax and Stix fonts used by MathJax in otf format and they seem not to be subpixel-smoothed even locally, in preview and in LibreOffice. Possibly MathJax updated their fonts recently to those which do not have a TTF outline? $\endgroup$ – Anixx Apr 4 '14 at 14:53
  • $\begingroup$ @robjohn under another (new) user all is OK, subpixel smoothing in MathJax works well. $\endgroup$ – Anixx Apr 4 '14 at 15:27
  • $\begingroup$ The STIX fonts installed on my system are PostScript Type 1. MathJax uses the fonts installed on your computer. As configured on MSE, the preferred MathJax font is "TeX", but "STIX" will be used in its absence. $\endgroup$ – robjohn Apr 4 '14 at 17:06
  • $\begingroup$ @robjohn I fixed the problem by creating a new user account and deleting the old one. This took me one day to transfer all settings and data. $\endgroup$ – Anixx Apr 4 '14 at 20:41
  • $\begingroup$ Ah, then the problem may have been in your MathJax preferences that are stored in cookies. You might try resetting your cookies for this site in the other account with the problem. Start with the mjx.menu cookie. Oh, you've already deleted the other account? Well, for next time. $\endgroup$ – robjohn Apr 4 '14 at 22:30
  • $\begingroup$ @robjohn I have already tried deleting all cookies. $\endgroup$ – Anixx Apr 4 '14 at 23:12

You must log in to answer this question.

Browse other questions tagged .