Browse Source

PDF.js version 1.6.359 - See mozilla/pdf.js@8e8af62faf381f8b97f8699a49f2dc87b6c0e783

master v1.6.359
Pdf Bot 8 years ago
parent
commit
4142842dce
  1. 2
      bower.json
  2. 28
      build/pdf.combined.js
  3. 4
      build/pdf.js
  4. 2
      build/pdf.min.js
  5. 28
      build/pdf.worker.js
  6. 6
      build/pdf.worker.min.js
  7. 2
      package.json

2
bower.json

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

28
build/pdf.combined.js

@ -23,8 +23,8 @@ @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.357';
var pdfjsBuild = 'fb4c4ff';
var pdfjsVersion = '1.6.359';
var pdfjsBuild = '8e8af62';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {
@ -53064,14 +53064,14 @@ @@ -53064,14 +53064,14 @@
widths = dict.get('W');
if (widths) {
for (i = 0, ii = widths.length; i < ii; i++) {
start = widths[i++];
start = xref.fetchIfRef(widths[i++]);
code = xref.fetchIfRef(widths[i]);
if (isArray(code)) {
for (j = 0, jj = code.length; j < jj; j++) {
glyphsWidths[start++] = code[j];
glyphsWidths[start++] = xref.fetchIfRef(code[j]);
}
} else {
var width = widths[++i];
var width = xref.fetchIfRef(widths[++i]);
for (j = start; j <= code; j++) {
glyphsWidths[j] = width;
}
@ -53079,7 +53079,7 @@ @@ -53079,7 +53079,7 @@
}
}
if (properties.vertical) {
var vmetrics = dict.get('DW2') || [
var vmetrics = dict.getArray('DW2') || [
880,
-1000
];
@ -53091,21 +53091,21 @@ @@ -53091,21 +53091,21 @@
vmetrics = dict.get('W2');
if (vmetrics) {
for (i = 0, ii = vmetrics.length; i < ii; i++) {
start = vmetrics[i++];
start = xref.fetchIfRef(vmetrics[i++]);
code = xref.fetchIfRef(vmetrics[i]);
if (isArray(code)) {
for (j = 0, jj = code.length; j < jj; j++) {
glyphsVMetrics[start++] = [
code[j++],
code[j++],
code[j]
xref.fetchIfRef(code[j++]),
xref.fetchIfRef(code[j++]),
xref.fetchIfRef(code[j])
];
}
} else {
var vmetric = [
vmetrics[++i],
vmetrics[++i],
vmetrics[++i]
xref.fetchIfRef(vmetrics[++i]),
xref.fetchIfRef(vmetrics[++i]),
xref.fetchIfRef(vmetrics[++i])
];
for (j = start; j <= code; j++) {
glyphsVMetrics[j] = vmetric;
@ -53120,7 +53120,7 @@ @@ -53120,7 +53120,7 @@
if (widths) {
j = firstChar;
for (i = 0, ii = widths.length; i < ii; i++) {
glyphsWidths[j++] = widths[i];
glyphsWidths[j++] = xref.fetchIfRef(widths[i]);
}
defaultWidth = parseFloat(descriptor.get('MissingWidth')) || 0;
} else {

4
build/pdf.js

@ -23,8 +23,8 @@ @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.357';
var pdfjsBuild = 'fb4c4ff';
var pdfjsVersion = '1.6.359';
var pdfjsBuild = '8e8af62';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {

2
build/pdf.min.js vendored

File diff suppressed because one or more lines are too long

28
build/pdf.worker.js vendored

@ -23,8 +23,8 @@ @@ -23,8 +23,8 @@
}
}(this, function (exports) {
'use strict';
var pdfjsVersion = '1.6.357';
var pdfjsBuild = 'fb4c4ff';
var pdfjsVersion = '1.6.359';
var pdfjsBuild = '8e8af62';
var pdfjsFilePath = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : null;
var pdfjsLibs = {};
(function pdfjsWrapper() {
@ -46447,14 +46447,14 @@ @@ -46447,14 +46447,14 @@
widths = dict.get('W');
if (widths) {
for (i = 0, ii = widths.length; i < ii; i++) {
start = widths[i++];
start = xref.fetchIfRef(widths[i++]);
code = xref.fetchIfRef(widths[i]);
if (isArray(code)) {
for (j = 0, jj = code.length; j < jj; j++) {
glyphsWidths[start++] = code[j];
glyphsWidths[start++] = xref.fetchIfRef(code[j]);
}
} else {
var width = widths[++i];
var width = xref.fetchIfRef(widths[++i]);
for (j = start; j <= code; j++) {
glyphsWidths[j] = width;
}
@ -46462,7 +46462,7 @@ @@ -46462,7 +46462,7 @@
}
}
if (properties.vertical) {
var vmetrics = dict.get('DW2') || [
var vmetrics = dict.getArray('DW2') || [
880,
-1000
];
@ -46474,21 +46474,21 @@ @@ -46474,21 +46474,21 @@
vmetrics = dict.get('W2');
if (vmetrics) {
for (i = 0, ii = vmetrics.length; i < ii; i++) {
start = vmetrics[i++];
start = xref.fetchIfRef(vmetrics[i++]);
code = xref.fetchIfRef(vmetrics[i]);
if (isArray(code)) {
for (j = 0, jj = code.length; j < jj; j++) {
glyphsVMetrics[start++] = [
code[j++],
code[j++],
code[j]
xref.fetchIfRef(code[j++]),
xref.fetchIfRef(code[j++]),
xref.fetchIfRef(code[j])
];
}
} else {
var vmetric = [
vmetrics[++i],
vmetrics[++i],
vmetrics[++i]
xref.fetchIfRef(vmetrics[++i]),
xref.fetchIfRef(vmetrics[++i]),
xref.fetchIfRef(vmetrics[++i])
];
for (j = start; j <= code; j++) {
glyphsVMetrics[j] = vmetric;
@ -46503,7 +46503,7 @@ @@ -46503,7 +46503,7 @@
if (widths) {
j = firstChar;
for (i = 0, ii = widths.length; i < ii; i++) {
glyphsWidths[j++] = widths[i];
glyphsWidths[j++] = xref.fetchIfRef(widths[i]);
}
defaultWidth = parseFloat(descriptor.get('MissingWidth')) || 0;
} else {

6
build/pdf.worker.min.js vendored

File diff suppressed because one or more lines are too long

2
package.json

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
{
"name": "pdfjs-dist",
"version": "1.6.357",
"version": "1.6.359",
"main": "build/pdf.js",
"description": "Generic build of Mozilla's PDF.js library.",
"keywords": [

Loading…
Cancel
Save