Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) (SVG)
This commit is contained in:
parent
91543560a9
commit
bc3b7adca6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -84,6 +84,8 @@
|
|||
"monospace": {fonts:["MathJax_Typewriter",MAIN,SIZE1,AMS]},
|
||||
"-tex-caligraphic": {fonts:["MathJax_Caligraphic",MAIN], offsetA: 0x41, variantA: "italic"},
|
||||
"-tex-oldstyle": {fonts:["MathJax_Caligraphic",MAIN]},
|
||||
"-tex-mathit": {fonts:["MathJax_Main-italic",ITALIC,MAIN,SIZE1,AMS], noIC:true,
|
||||
offsetN: 0x30, variantN: "normal"},
|
||||
"-largeOp": {fonts:[SIZE2,SIZE1,MAIN]},
|
||||
"-smallOp": {fonts:[SIZE1,MAIN]}
|
||||
},
|
||||
|
|
|
@ -934,7 +934,8 @@
|
|||
}
|
||||
svg.Clean(); var text = this.data.join("");
|
||||
if (svg.skew && text.length !== 1) {delete svg.skew}
|
||||
if (svg.r > svg.w && text.length === 1) {svg.ic = svg.r - svg.w; svg.w = svg.r}
|
||||
if (svg.r > svg.w && text.length === 1 && !variant.noIC)
|
||||
{svg.ic = svg.r - svg.w; svg.w = svg.r}
|
||||
this.SVGhandleColor(svg);
|
||||
this.SVGsaveData(svg);
|
||||
return svg;
|
||||
|
|
Loading…
Reference in New Issue
Block a user