From 82ad5b6856600820e1508d50963479dcc06273f2 Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Mon, 22 Sep 2014 16:25:02 -0500 Subject: [PATCH] PDF.js version 1.0.288 --- bower.json | 2 +- build/pdf.combined.js | 11 ++++++++--- build/pdf.js | 4 ++-- build/pdf.worker.js | 11 ++++++++--- package.json | 2 +- 5 files changed, 20 insertions(+), 10 deletions(-) diff --git a/bower.json b/bower.json index b5bdb6b2e..f5448e966 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.286", + "version": "1.0.288", "keywords": [ "Mozilla", "pdf", diff --git a/build/pdf.combined.js b/build/pdf.combined.js index 9d954c7de..2393e1d30 100644 --- a/build/pdf.combined.js +++ b/build/pdf.combined.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.286'; -PDFJS.build = '3acf570'; +PDFJS.version = '1.0.288'; +PDFJS.build = '2449142'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -26248,7 +26248,12 @@ var Font = (function FontClosure() { if (!potentialTable) { warn('Could not find a preferred cmap table.'); - return []; + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; } font.pos = start + potentialTable.offset; diff --git a/build/pdf.js b/build/pdf.js index eb011d1f5..798eefe1a 100644 --- a/build/pdf.js +++ b/build/pdf.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.286'; -PDFJS.build = '3acf570'; +PDFJS.version = '1.0.288'; +PDFJS.build = '2449142'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it diff --git a/build/pdf.worker.js b/build/pdf.worker.js index 5bc7c0b59..e2eceb939 100644 --- a/build/pdf.worker.js +++ b/build/pdf.worker.js @@ -21,8 +21,8 @@ if (typeof PDFJS === 'undefined') { (typeof window !== 'undefined' ? window : this).PDFJS = {}; } -PDFJS.version = '1.0.286'; -PDFJS.build = '3acf570'; +PDFJS.version = '1.0.288'; +PDFJS.build = '2449142'; (function pdfjsWrapper() { // Use strict in our context only - users might not want it @@ -21741,7 +21741,12 @@ var Font = (function FontClosure() { if (!potentialTable) { warn('Could not find a preferred cmap table.'); - return []; + return { + platformId: -1, + encodingId: -1, + mappings: [], + hasShortCmap: false + }; } font.pos = start + potentialTable.offset; diff --git a/package.json b/package.json index a8e92ba27..34408390e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdfjs-dist", - "version": "1.0.286", + "version": "1.0.288", "description": "Generic build of Mozilla's PDF.js library.", "keywords": [ "Mozilla",