Make clip rect larger so that wide math will not beclipped. Resolves issue #1314

This commit is contained in:
Davide P. Cervone 2015-12-17 19:58:32 -05:00
parent 32c2d9b9fc
commit 916965b777

View File

@ -1249,7 +1249,7 @@
if (!this.msieClipRectBug && !bbox.noclip && !noclip) {
var dd = 3/this.em;
var H = (bbox.H == null ? bbox.h : bbox.H), D = (bbox.D == null ? bbox.d : bbox.D);
var t = HH - H - dd, b = HH + D + dd, l = -1000, r = 1000;
var t = HH - H - dd, b = HH + D + dd, l = -10000, r = 1000000;
span.style.clip = "rect("+this.Em(t)+" "+this.Em(r)+" "+this.Em(b)+" "+this.Em(l)+")";
}
}