Width of certain SVGs is too short, possibly from negative mspace
Submitted by gjt..@..il.com
Link to original bug (#749701)
Description
Suppose you have some TeX that looks like this: $$x \skew{50}\hat A x$$
.
In MathJax/mtex2MML, this TeX renders into this MathML output: https://gist3.github.com/gjtorikian/a8b7f35be4a9e32fd395#file-mathml-html
It renders fine in Firefox and other MathML-compatible browsers. Here is their relatively recent patch fix: https://bugzilla.mozilla.org/show_bug.cgi?id=717546
However, when Lasem tried to render it, the width of the image is truncated, and the spacing appears off: http://i.imgur.com/9faCvOR.png You can see the left tip of the hat just before it moves out of the width of the image.
I suspect that Lasem is unable to read mspace width="-2.800em"
--that is, the negative value for width
. This would also, of course, apply to depth
and height
, too.
Version: git master