File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
unpacked/jax/output/HTML-CSS Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 939
939
for ( i = 0 , m = SPANS . length ; i < m ; i ++ ) {
940
940
span = SPANS [ i ] ; if ( ! span ) continue ;
941
941
bbox = span . bbox ; parent = this . parentNode ( span ) ;
942
- if ( bbox . exactW || bbox . width || bbox . w === 0 || bbox . isMultiline || this . config . noReflows ) {
942
+ if ( bbox . exactW || bbox . width || bbox . w === 0 || bbox . isMultiline ||
943
+ ( this . config . noReflows && bbox . exactW !== false ) ) {
943
944
if ( ! parent . bbox ) { parent . bbox = bbox }
944
945
continue ;
945
946
}
1524
1525
if ( span . bbox . w + c [ 3 ] / 1000 < span . bbox . lw ) { span . bbox . lw = span . bbox . w + c [ 3 ] / 1000 }
1525
1526
if ( span . bbox . w + c [ 4 ] / 1000 > span . bbox . rw ) { span . bbox . rw = span . bbox . w + c [ 4 ] / 1000 }
1526
1527
span . bbox . w += c [ 2 ] / 1000 ;
1528
+ if ( ( c [ 5 ] || { } ) . isUnknown ) span . bbox . exactW = false ; // force measurement
1527
1529
}
1528
1530
if ( newtext . length ) { this . addText ( SPAN , newtext ) }
1529
1531
if ( span . scale && span . scale !== 1 ) {
You can’t perform that action at this time.
0 commit comments