Skip to content

Commit da8b1ea

Browse files
committed
Make super- and subscripts respect height of stretched characters.
1 parent 5b232c9 commit da8b1ea

File tree

1 file changed

+1
-1
lines changed
  • unpacked/jax/output/HTML-CSS

1 file changed

+1
-1
lines changed

unpacked/jax/output/HTML-CSS/jax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2773,7 +2773,7 @@
27732773
base.bbox.w -= base.bbox.ic; // remove IC (added by mo and mi)
27742774
delta = 1.3*base.bbox.ic + .05; // adjust faked IC to be more in line with expected results
27752775
}
2776-
if (this.data[this.base] &&
2776+
if (this.data[this.base] && HW == null && D == null &&
27772777
(this.data[this.base].type === "mi" || this.data[this.base].type === "mo")) {
27782778
if (this.data[this.base].data.join("").length === 1 && children[0].scale === 1 &&
27792779
!this.data[this.base].Get("largeop")) {u = v = 0}

0 commit comments

Comments
 (0)