commit 9bf55785f0ab72a882849f20715a54f50ea0baa4
parent ca196c8e0d318eca9ed4df3a48bc9717a5d832db
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 14 Sep 2014 11:02:16 -0400
Use proper value of base scaling to reset u and v in super- and subscript positioning. Resolves issue #804.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js
@@ -2736,7 +2736,7 @@
}
if (this.data[this.base] &&
(this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) {
- if (this.data[this.base].data.join("").length === 1 && base.bbox.scale === 1 &&
+ if (this.data[this.base].data.join("").length === 1 && children[0].scale === 1 &&
!this.data[this.base].Get("largeop")) {u = v = 0}
}
var min = this.getValues("subscriptshift","superscriptshift");