-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
MathJax3 left curly brace misaligned and not smooth #2311
Comments
@dpvc I'm using Windows 10, and it become smooth if I zoom in really large. The misalignment is always within one pixel, looks like it's because the upper and lower part has some kind of gradien, but the middle part does not. |
What browser are you using? The middle part is handled using a transform that stretches the piece (vertically) so that only one piece is needed regardless of the size of the brace. That means that the rounding to pixel positions may not be exactly the same for the stretched and unstreched parts. Because that is dependent on scaling and other factors, it may be hard to find a solution that works at all scales in all browsers on all platforms. I'll have to see what I can figure out. |
I have made a pull request with a change that helps the brace situation at most scaling factors. For now, you can add mjx-stretchy-v > * > mjx-c {
transform: scaley(1.0000001) ! important
}
mjx-stretchy-h > * > mix-c {
transform: scalex(1.00000001) ! important
} to the CSS for your page in order to get the same result until the next release of MathJax is available. |
Improve multi-glyph stretchy characters in Chrome. (mathjax/MathJax#2311)
Hi,
I found these two little bugs after switching to MathJax3 (I'm using Chrome browser)
The text was updated successfully, but these errors were encountered: