Open AlexEdgcomb opened 1 year ago
As you surmised, this is the same issue as #3051. If you add mathbackground="red"
to the base <mi>
, you will see that the accent actually is centered on the glyph:
Because of the shape of the glyph, it doesn't appear to be. To fix that, the character needs a skew value, as described in #3051, as it is missing from the table there. You can add
0x2113: .111,
to that list, and it should take care of it. The older v2 fonts did include this skew value and a few others, which is why you like the v2 version. The skew values for v4 are obtained from the fonts' OpenType MATH tables, but these don't seem to have values for U+2113, so they didn't make it into the font.
@dpvc , thank you! Works as advertised :)
Issue Summary
An overhead line above an italicized ℓ is too far left. Ex:
Steps to Reproduce:
Observed: Overhead line is too far left
Expected: Overhead line to be centered, like in MJ2: https://codepen.io/alexedgcomb/pen/gOZXRzP
Technical details:
I am using the following MathJax configuration:
and loading MathJax via
Supporting information:
May be related to https://github.com/mathjax/MathJax/issues/3051, which was about LaTeX. This is about MML, so I made a new issue.
Issue present in 4.0.0-beta.3: https://codepen.io/alexedgcomb/pen/MWZOoVQ