You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
works for CommonHTML output, and something similar could be used for HTML-CSS and PreviewHTML as well. This would avoid having to measure em and ex heights (though a corresponding adjustment would need to be made for text with mtextInheritFont set). This should also resolve some problems with mobile devices that change the font size after the page is loaded (and after MathJax has already measured the size), causing the math to be scaled incorrectly for the new font size.
Note that for HTML-CSS, each of the different web fonts would require a different scaling factor (since their em-to-ex ratios differ, and this font-size is the em-size divided by the ex-height).