revert a couple changes from the last merge

This commit is contained in:
Andreas Gal 2011-07-08 01:02:14 -07:00
parent df79f10f2f
commit 7fb940c4ba
2 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,6 @@
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
'use strict';
var missingGlyphs = [];
var isWorker = (typeof window == 'undefined');
/**
@ -1645,10 +1644,8 @@ CFF.prototype = {
for (var i = 0; i < glyphs.length; i++) {
var glyph = glyphs[i];
var unicode = GlyphsUnicode[glyph.glyph];
if (!unicode) {
if (glyph.glyph != '.notdef') {
missingGlyphs.push(glyph.glyph);
warn(glyph.glyph +
' does not have an entry in the glyphs unicode dictionary');
}

2
pdf.js
View File

@ -1917,7 +1917,7 @@ var Cmd = (function() {
var Dict = (function() {
function constructor() {
this.map = {};
this.map = Object.create(null);
}
constructor.prototype = {