Skip to content

Integral sign cropped in Cauchy's formula MathML Chrome 400% zoom #250

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

Closed
DominicCronin opened this issue May 19, 2012 · 5 comments
Closed

Comments

@DominicCronin
Copy link

Google Chrome 19.0.1084.46 m running on Windows 7
http://www.mathjax.org/demos/mathml-samples/
Zoom the browser to 400% and view Cauchy's integral formula (note: slightly larger or smaller zooms look OK)
The Integral sign is clipped off on the right, and the f is also missing a bit on the right

@DominicCronin
Copy link
Author

I had a screenshot for you, but I couldn't find how to upload it to your issue tracker.

@dpvc
Copy link
Member

dpvc commented May 21, 2012

I am not able to reproduce the results. Did you have this problem after scrolling the page? Chrome does have some refresh issues if you scroll math onto the page. Each character has a bounding box, but the glyphs are allowed to extend over those boxes. It appears that Chrome only refreshes the area inside the character bounding box, leaving off the parts that fall outside. The integral sign, in particular, extends quite a bit over its bounding box (which is only about half as wide as the integral sign itself), and the lower-case "f" also extends over is box slightly at the top. I suspect you are seeing this effect. Unfortunately, there is not much MathJax can do about that. If you select and unselect the text, that might cause it to rerender properly.

I don't think this is restricted to 400%, but can occur any time you scroll. If you adjusted the scaling when the integral was visible and didn't scroll, that might be why you didn't see the effect at the other scalings. Also, I think it only appears in the case where a glyph is partially on screen and partly off (when it scrolls on it is not fully rerendered). That occurs more frequently at higher magnifications.

Davide

@fred-wang
Copy link
Contributor

I've been able to reproduce this issue and open a bug on Webkit bug tracker:

https://bugs.webkit.org/show_bug.cgi?id=108465

a screenshot:

https://bug-108465-attachments.webkit.org/attachment.cgi?id=185756

@pkra
Copy link
Contributor

pkra commented Aug 20, 2014

On Chrome 36, I see this only and now at 500%. Not sure if marking this as "abandoned" is appropriate.

@pkra pkra removed the Investigate label Mar 4, 2015
@pkra pkra added the Upstream label Jul 13, 2016
@pkra
Copy link
Contributor

pkra commented Jul 13, 2016

Seems to have been fixed in WebKit as well.

@pkra pkra closed this as completed Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants