Browse Source

PDF.js version 1.1.143

master v1.1.143
Pdf Bot 10 years ago
parent
commit
c083b16818
  1. 2
      bower.json
  2. 13
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 13
      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.140",
"version": "1.1.143",
"main": [
"build/pdf.js",
"build/pdf.worker.js"

13
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.140';
PDFJS.build = '9deae0e';
PDFJS.version = '1.1.143';
PDFJS.build = '7da9626';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -23776,7 +23776,10 @@ var Font = (function FontClosure() { @@ -23776,7 +23776,10 @@ var Font = (function FontClosure() {
}
}
if (!potentialTable) {
if (potentialTable) {
font.pos = start + potentialTable.offset;
}
if (!potentialTable || font.peekByte() === -1) {
warn('Could not find a preferred cmap table.');
return {
platformId: -1,
@ -23786,7 +23789,6 @@ var Font = (function FontClosure() { @@ -23786,7 +23789,6 @@ var Font = (function FontClosure() {
};
}
font.pos = start + potentialTable.offset;
var format = font.getUint16();
var length = font.getUint16();
var language = font.getUint16();
@ -24221,6 +24223,9 @@ var Font = (function FontClosure() { @@ -24221,6 +24223,9 @@ var Font = (function FontClosure() {
default:
warn('Unknown/unsupported post table version ' + version);
valid = false;
if (properties.defaultEncoding) {
glyphNames = properties.defaultEncoding;
}
break;
}
properties.glyphNames = glyphNames;

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.140';
PDFJS.build = '9deae0e';
PDFJS.version = '1.1.143';
PDFJS.build = '7da9626';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it

13
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.140';
PDFJS.build = '9deae0e';
PDFJS.version = '1.1.143';
PDFJS.build = '7da9626';
(function pdfjsWrapper() {
// Use strict in our context only - users might not want it
@ -17423,7 +17423,10 @@ var Font = (function FontClosure() { @@ -17423,7 +17423,10 @@ var Font = (function FontClosure() {
}
}
if (!potentialTable) {
if (potentialTable) {
font.pos = start + potentialTable.offset;
}
if (!potentialTable || font.peekByte() === -1) {
warn('Could not find a preferred cmap table.');
return {
platformId: -1,
@ -17433,7 +17436,6 @@ var Font = (function FontClosure() { @@ -17433,7 +17436,6 @@ var Font = (function FontClosure() {
};
}
font.pos = start + potentialTable.offset;
var format = font.getUint16();
var length = font.getUint16();
var language = font.getUint16();
@ -17868,6 +17870,9 @@ var Font = (function FontClosure() { @@ -17868,6 +17870,9 @@ var Font = (function FontClosure() {
default:
warn('Unknown/unsupported post table version ' + version);
valid = false;
if (properties.defaultEncoding) {
glyphNames = properties.defaultEncoding;
}
break;
}
properties.glyphNames = glyphNames;

2
package.json

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

Loading…
Cancel
Save