Skip to content

Commit 723e05e

Browse files
committed
Fix scaling to use actual scale not relative scale, since parent scale isn't taken into account. #1881.
1 parent bcfabb5 commit 723e05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/jax/output/CommonHTML/autoload/multiline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
173173
CHTMLaddWidth: function (i,info,scanW) {
174174
if (this.data[i]) {
175175
var bbox = this.data[i].CHTML;
176-
scanW += (bbox.w + (bbox.L||0) + (bbox.R||0)) * (bbox.rscale || 1);
176+
scanW += (bbox.w + (bbox.L||0) + (bbox.R||0)) * (bbox.scale || 1);
177177
info.W = info.scanW = scanW; info.w = 0;
178178
}
179179
return scanW;

0 commit comments

Comments
 (0)