# Square root symbol broken on demos (Chrome 32 on OS X 10.9) #744

Closed
opened this issue Feb 19, 2014 · 3 comments

Projects
None yet
3 participants

### Blaisorblade commented Feb 19, 2014

 Not only is the square root symbol not aligned with the horizontal line over the content, but the horizontal line is less thick — something you notice if the two happen to be almost aligned. This is visible in the MathML demos. You can also go to the scaling math demo, type \sqrt{\sum_{i = 0}^n i} as sample math, and move the slider around. This might relate to #295.
Member

### pkra commented Feb 19, 2014

 Thanks for reporting this. For the record, I can confirm this on the same setup (also on Chrome 33). It's less prominent on Chrome 32/33 on linux.
Member

### dpvc commented Feb 19, 2014

 The placement of the horizontal line has always been a source of difficulty, and the results you get change depending on the font size, the font used (STIX versus TeX), the browser, and the OS. Chrome has always been particularly troublesome in this respect, and I can produce examples that have the line too high, just right, and too low all in the same formula. So there is no easy fix for this. The measurements MathJax has access to don't have the required precision to get this exact in all cases. MathJax does include a value that can be used to adjust the line, and I think it can be changed to improve the situation, but not fix it entirely. The horizontal line is made from minus signs in the font being used (so that its thickness will better match the rest of the display), and the quality of the result depends on the quality of the font rendering, antialiasing, and even the position on the page (how close the positioning is to the pixel grid of the screen makes a big difference in the result). Again, Chrome has some long-standing font issues that exacerbate the problem.

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Feb 20, 2014

 Change fuzz factor for Chrome square roots. Resolves issue mathjax#744. 
 2c303a8 

### dpvc pushed a commit to dpvc/MathJax that referenced this issue Feb 20, 2014

 Merge branch 'issue744' into develop. Issue mathjax#744. 
 0b3454c 

Member

### dpvc commented Feb 20, 2014

 => Merged.

Closed