Skip properties inherited from array.prototype
This commit is contained in:
parent
81bae99ab0
commit
00dbce612f
1 changed files with 9 additions and 7 deletions
|
@ -2773,6 +2773,7 @@ var Font = (function FontClosure() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (var index in newGlyphUnicodes) {
|
for (var index in newGlyphUnicodes) {
|
||||||
|
if (newGlyphUnicodes.hasOwnProperty(index)) {
|
||||||
var unicode = newGlyphUnicodes[index];
|
var unicode = newGlyphUnicodes[index];
|
||||||
if (reverseMap[unicode]) {
|
if (reverseMap[unicode]) {
|
||||||
// avoiding assigning to the same unicode
|
// avoiding assigning to the same unicode
|
||||||
|
@ -2782,6 +2783,7 @@ var Font = (function FontClosure() {
|
||||||
glyphs[index].unicode = unicode;
|
glyphs[index].unicode = unicode;
|
||||||
reverseMap[unicode] = index;
|
reverseMap[unicode] = index;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.useToFontChar = true;
|
this.useToFontChar = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue