Fix scaling problem with mpadded.

This commit is contained in:
Davide P. Cervone 2014-05-04 15:23:50 -04:00
parent 061fe3488b
commit 81cec74252

View File

@ -1565,7 +1565,8 @@
var values = this.getValues("height","depth","width");
values.mathbackground = this.mathbackground;
if (this.background && !this.mathbackground) {values.mathbackground = this.background}
var svg = this.SVG(), scale = this.SVGgetScale(svg), mu = this.SVGgetMu(svg);
var svg = this.SVG(); this.SVGgetScale(svg);
var scale = this.mscale, mu = this.SVGgetMu(svg);
svg.h = SVG.length2em(values.height,mu) * scale;
svg.d = SVG.length2em(values.depth,mu) * scale;
svg.w = svg.r = SVG.length2em(values.width,mu) * scale;