mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
revert a couple changes from the last merge
This commit is contained in:
parent
df79f10f2f
commit
7fb940c4ba
2 changed files with 1 additions and 4 deletions
3
fonts.js
3
fonts.js
|
@ -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
2
pdf.js
|
@ -1917,7 +1917,7 @@ var Cmd = (function() {
|
|||
|
||||
var Dict = (function() {
|
||||
function constructor() {
|
||||
this.map = {};
|
||||
this.map = Object.create(null);
|
||||
}
|
||||
|
||||
constructor.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue