Add U+2032 through U+2037 to the STIX characters that must come from the variants font; don't special case U+2032 in TeX input or STIX font tables.

This commit is contained in:
Davide P. Cervone 2012-01-31 14:09:24 -05:00
parent 8b49255547
commit 23472e3f87
18 changed files with 21 additions and 22 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1183,7 +1183,7 @@
var sup = ""; this.i--;
do {sup += this.PRIME; this.i++, c = this.GetNext()}
while (c === "'" || c === this.SMARTQUOTE);
sup = this.mmlToken(MML.mo(MML.chars(sup)).With({isPrime: true, variantForm: TEX.isSTIX}));
sup = this.mmlToken(MML.mo(MML.chars(sup)).With({isPrime: true}));
this.Push(MML.msup(base,sup));
},
mi2mo: function (mi) {

View File

@ -459,7 +459,6 @@
TEX.isSTIX = true;
TEX.Definitions.mathchar0mi.hbar = ['210F',{variantForm: true}];
TEX.Definitions.mathchar0mi.prime[1].variantForm = true;
TEX.Definitions.mathchar0mi.emptyset[1].variantForm = true;
TEX.Definitions.mathchar0mi.backslash[1].variantForm = true;
TEX.Definitions.mathchar0mi.triangle[1].mathsize = "71%";

View File

@ -1902,7 +1902,7 @@
//
// STIX fonts need quotes from variant font
//
if (isScript && HTMLCSS.fontInUse === "STIX" && text.match(/['`"\u00B4]/))
if (isScript && HTMLCSS.fontInUse === "STIX" && text.match(/['`"\u00B4\u2032-\u2037]/))
{variant = HTMLCSS.FONTDATA.VARIANT["-STIX-variant"]}
//
// Typeset contents