From da8b1ea1ffeca0dfc457f0bfeaf72369588cc49a Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Wed, 28 Jan 2015 11:43:19 -0500 Subject: [PATCH] Make super- and subscripts respect height of stretched characters. --- unpacked/jax/output/HTML-CSS/jax.js | 2 +- 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 index 523ab469e..95a5c3839 100644 --- a/unpacked/jax/output/HTML-CSS/jax.js +++ b/unpacked/jax/output/HTML-CSS/jax.js @@ -2773,7 +2773,7 @@ base.bbox.w -= base.bbox.ic; // remove IC (added by mo and mi) delta = 1.3*base.bbox.ic + .05; // adjust faked IC to be more in line with expected results } - if (this.data[this.base] && + if (this.data[this.base] && HW == null && D == null && (this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) { if (this.data[this.base].data.join("").length === 1 && children[0].scale === 1 && !this.data[this.base].Get("largeop")) {u = v = 0}