Fix problem with Plane1 not being mapped to the MathJax fonts properly. Resolves issue #1451.
This commit is contained in:
parent
288e4f476d
commit
22c19a8186
|
@ -744,6 +744,10 @@
|
|||
getCharList: function (variant,n) {
|
||||
var id, M, list = [], cache = variant.cache, nn = n;
|
||||
if (cache[n]) return cache[n];
|
||||
if (n > 0xFFFF && this.FONTDATA.RemapPlane1) {
|
||||
var nv = this.FONTDATA.RemapPlane1(n,variant);
|
||||
n = nv.n; variant = nv.variant;
|
||||
}
|
||||
var RANGES = this.FONTDATA.RANGES, VARIANT = this.FONTDATA.VARIANT;
|
||||
if (n >= RANGES[0].low && n <= RANGES[RANGES.length-1].high) {
|
||||
for (id = 0, M = RANGES.length; id < M; id++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user