Only update bbox widths when the boxes exist
This commit is contained in:
parent
d6bb1f55d5
commit
8b9c18e1b4
|
@ -1339,7 +1339,7 @@
|
|||
//
|
||||
// Add the super- and subscripts
|
||||
//
|
||||
var x = BBOX.w; subbox.w += s; supbox.w += s;
|
||||
var x = BBOX.w; if (sub) subbox.w += s; if (sup) supbox.w += s;
|
||||
if (!sup) {
|
||||
if (sub) {
|
||||
v = Math.max(v,CHTML.TEX.sub1,sscale*subbox.h-(4/5)*ex,values.subscriptshift);
|
||||
|
|
Loading…
Reference in New Issue
Block a user