Skip to content

Commit 2fa814b

Browse files
committed
Fix positioning problem with accents. Resolves issue #1798.
1 parent 6b38a81 commit 2fa814b

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
@@ -1244,7 +1244,7 @@
12441244
// Place the box
12451245
var HH, dx = 0;
12461246
if (span.HH != null) {HH = span.HH}
1247-
else if (bbox) {HH = Math.max(3,bbox.h+bbox.d)}
1247+
else if (bbox) {HH = Math.max(3,3*(span.firstChild.scale||1),bbox.h+bbox.d)}
12481248
else {HH = span.offsetHeight/this.em}
12491249
if (!span.noAdjust) {
12501250
HH += 1;

0 commit comments

Comments
 (0)