Properly build toFontChar
This commit is contained in:
parent
b4e3554af2
commit
26b58c0e4f
@ -2148,7 +2148,8 @@ var Font = (function FontClosure() {
|
|||||||
var unicode = toUnicode[i];
|
var unicode = toUnicode[i];
|
||||||
var fontCharCode = typeof unicode === 'object' ? unusedUnicode++ :
|
var fontCharCode = typeof unicode === 'object' ? unusedUnicode++ :
|
||||||
unicode;
|
unicode;
|
||||||
result.push(fontCharCode);
|
if (typeof unicode !== 'undefined')
|
||||||
|
result[i] = fontCharCode;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user