File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1313
1313
} ,
1314
1314
combine : function ( cbox , x , y ) {
1315
1315
cbox . X = x ; cbox . Y = y ; // save for use with line breaking
1316
- scale = cbox . rscale ;
1316
+ var scale = cbox . rscale ;
1317
1317
if ( x + scale * cbox . r > this . r ) this . r = x + scale * cbox . r ;
1318
1318
if ( x + scale * cbox . l < this . l ) this . l = x + scale * cbox . l ;
1319
1319
if ( x + scale * ( cbox . w + ( cbox . L || 0 ) + ( cbox . R || 0 ) ) > this . w )
Original file line number Diff line number Diff line change 34
34
var SVGNS = "http://www.w3.org/2000/svg" ;
35
35
var XLINKNS = "http://www.w3.org/1999/xlink" ;
36
36
37
+ var EVENT , TOUCH , HOVER ; // filled in later
38
+
37
39
//
38
40
// Get the URL of the page (for use with xlink:href) when there
39
41
// is a <base> element on the page.
2059
2061
}
2060
2062
} else {
2061
2063
if ( ! sub ) {
2062
- values = this . getValues ( "displaystyle" , "texprimestyle" ) ;
2064
+ var values = this . getValues ( "displaystyle" , "texprimestyle" ) ;
2063
2065
p = SVG . TeX [ ( values . displaystyle ? "sup1" : ( values . texprimestyle ? "sup3" : "sup2" ) ) ] ;
2064
2066
u = Math . max ( u , p * scale , sup . d + ( 1 / 4 ) * x_height , min . superscriptshift ) ;
2065
2067
svg . Add ( sup , x + delta , u ) ;
You can’t perform that action at this time.
0 commit comments