Use variant form for more primes in SVG output (match HTML-CSS output). Resolves problem identified by Fred in issue #268.

This commit is contained in:
Davide P. Cervone 2012-08-17 10:35:46 -04:00
parent 01113c0921
commit f8e3f3557f
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1265,7 +1265,7 @@
//
// Primes must come from another font
//
if (isScript && this.data.join("").match(/\u2032/))
if (isScript && this.data.join("").match(/['`"\u00B4\u2032-\u2037]/))
{variant = SVG.FONTDATA.VARIANT["-TeX-variant"]}
//
// Typeset contents