Browse Source

PDF.js version 1.1.515

master v1.1.515
Pdf Bot 9 years ago
parent
commit
5da85d4d3d
  1. 2
      bower.json
  2. 14
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 14
      build/pdf.worker.js
  5. 2
      package.json

2
bower.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.513",
"version": "1.1.515",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

14
build/pdf.combined.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.513';
PDFJS.build = '9332da3';
PDFJS.version = '1.1.515';
PDFJS.build = '3eaeacf';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -18582,7 +18582,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { @@ -18582,7 +18582,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
if (cmap instanceof IdentityCMap) {
return new IdentityToUnicodeMap(0, 0xFFFF);
}
var map = [];
var map = new Array(cmap.length);
// Convert UTF-16BE
// NOTE: cmap can be a sparse array, so use forEach instead of for(;;)
// to iterate over all keys.
@ -20195,6 +20195,10 @@ var CMap = (function CMapClosure() { @@ -20195,6 +20195,10 @@ var CMap = (function CMapClosure() {
out.length = 1;
},
get length() {
return this._map.length;
},
get isIdentityCMap() {
if (!(this.name === 'Identity-H' || this.name === 'Identity-V')) {
return false;
@ -20271,6 +20275,10 @@ var IdentityCMap = (function IdentityCMapClosure() { @@ -20271,6 +20275,10 @@ var IdentityCMap = (function IdentityCMapClosure() {
readCharCode: CMap.prototype.readCharCode,
get length() {
return 0x10000;
},
get isIdentityCMap() {
error('should not access .isIdentityCMap');
}

4
build/pdf.js

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.513';
PDFJS.build = '9332da3';
PDFJS.version = '1.1.515';
PDFJS.build = '3eaeacf';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

14
build/pdf.worker.js vendored

@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') { @@ -22,8 +22,8 @@ if (typeof PDFJS === 'undefined') {
(typeof window !== 'undefined' ? window : this).PDFJS = {};
}
PDFJS.version = '1.1.513';
PDFJS.build = '9332da3';
PDFJS.version = '1.1.515';
PDFJS.build = '3eaeacf';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -12131,7 +12131,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { @@ -12131,7 +12131,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
if (cmap instanceof IdentityCMap) {
return new IdentityToUnicodeMap(0, 0xFFFF);
}
var map = [];
var map = new Array(cmap.length);
// Convert UTF-16BE
// NOTE: cmap can be a sparse array, so use forEach instead of for(;;)
// to iterate over all keys.
@ -13744,6 +13744,10 @@ var CMap = (function CMapClosure() { @@ -13744,6 +13744,10 @@ var CMap = (function CMapClosure() {
out.length = 1;
},
get length() {
return this._map.length;
},
get isIdentityCMap() {
if (!(this.name === 'Identity-H' || this.name === 'Identity-V')) {
return false;
@ -13820,6 +13824,10 @@ var IdentityCMap = (function IdentityCMapClosure() { @@ -13820,6 +13824,10 @@ var IdentityCMap = (function IdentityCMapClosure() {
readCharCode: CMap.prototype.readCharCode,
get length() {
return 0x10000;
},
get isIdentityCMap() {
error('should not access .isIdentityCMap');
}

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.1.513",
"version": "1.1.515",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [
"Mozilla",

Loading…
Cancel
Save