commit 0a89bc1ac5faf468f3643b5bec3420a1dcb6d842
parent 82d0ea22c29ec3c91a544d991daeef424ac12063
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 11 Sep 2014 06:49:30 -0400
Merge branch 'issue800' into develop. Issue #800.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js
@@ -1619,7 +1619,7 @@
if (values.voffset) {y = this.SVGlength2em(pad,values.voffset,mu)}
var h = pad.h, d = pad.d, w = pad.w; // these can change durring the Add()
svg.Add(pad,x,y); svg.Clean();
- svg.h = h; svg.d = d; svg.w = w; svg.removeable = false;
+ svg.h = h+pad.y; svg.d = d-pad.y; svg.w = w; svg.removeable = false;
if (values.height !== "") {svg.h = this.SVGlength2em(svg,values.height,mu,"h",0)}
if (values.depth !== "") {svg.d = this.SVGlength2em(svg,values.depth,mu,"d",0)}
if (values.width !== "") {svg.w = this.SVGlength2em(svg,values.width,mu,"w",0)}