Skip to content
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

SVG output can be clipped #383

dpvc opened this issue Jan 29, 2013 · 2 comments


None yet
2 participants
Copy link

commented Jan 29, 2013

Some characters can be slightly clipped in SVG output, especially in Chrome. E.g., {\rm O} is slightly clipped at the bottom in some sizes.


This comment has been minimized.

Copy link
Member Author

commented Jan 29, 2013

This is probably due to antialiasing that takes up more pixels than MathJax accounts for. Leaving a one-pixel border should resolve the problem. I have the code to do it, but haven't had the chance to make a branch with it yet.

dpvc pushed a commit to dpvc/MathJax that referenced this issue Jan 31, 2013

Davide P. Cervone
Add a pixel extra around the SVG image to accommodate antialiasing pi…
…xels. Also, try to work around truncation versus rounding issue in Chrome for ex-sizes (may not work well in other browsers, though). Addresses issue mathjax#383.

This comment has been minimized.

Copy link

commented Feb 13, 2013

I'm not sure I see a difference. I mark this Ready for release and Do not write test, and we'll see if that breaks anything during the testing period.

dpvc pushed a commit to dpvc/MathJax that referenced this issue Mar 20, 2013

@dpvc dpvc closed this May 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.