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
Disappearing minus sign (scaling problem with SVG fonts). #2612
Comments
I also encountered this problem |
If this is in Chrome (or another browser that uses Blink, e.g., Opera or recent Edge browsers), we have heard reports of recent version of Chrome not showing minus and plus properly when the math is scaled. This is apparently a Chrome bug, and turning off hardware acceleration seems to resolve the issue for those who have reported it.
If you are using SVG output, you could also consider changing to CHTML output, as that uses a different rendering process that might work better for you. |
By the way, two months ago, I find the same problem and read Chrome's Bugs report. I told to test engineer it's Chrome's bug, but he still thinks it's my fault, lol 🤣 |
And now, I revert SVG to Img to resolve this problem |
It appears this my have been fixed in Chrome 88. https://bugs.chromium.org/p/chromium/issues/detail?id=1159852 Can anyone confirm that was experiencing the issue previously? |
@bsmarsh333 I just updated Chrome to 88 and found that the SVG rendered the negative sign correctly for me now (when they did not before). Of course, take this as a sample size of one. |
@oliveras and @bsmarsh333, thanks for sharing the information you have found. That is very valuable, and I hope others are able to confirm your results as well. |
Issue Summary
We are using MathJax as part of a platform for setting exams for our calculus students. Recently, the minus sign has started disappearing on certain browsers at certain zoom levels. This would appear to be a problem with the SVG fonts.
Steps to Reproduce:
This can be seen, for example, on the following page at 50% zoom on Chrome.
https://arquimedes.nce.ufrj.br/calculo1/prova/diagnostic.php
Observe that the \leq sign is also incorrectly displayed at 80% zoom.
Technical details:
Supporting information:
Below follow some examples.
Line C of Question 3 of the following file.
Second, Third and Seventh Equations of the following file.
Third equation of the following file.
The text was updated successfully, but these errors were encountered: